Problem with User Module custom permission



  • I have updated one of user role (company_admin) permissions disabling access to some modules like :

    1. User Module
    2. Workshop Module
    3. Blog Module etc...

    But did not disable any permissions inside Page Module & Media Module and, all the individual user permissions are are set to "Inherit from role". But the problem is I cannot access to Page & Media (both of them are Vue templates) modules through the company_admin user role even if the required permissions are given. Other modules are working fine without any problem.

    TEXje2

    Here are the permissions given to the Page & Media Modules of company_admin user role:

    0_1547959940598_asgard-permission-role-page.PNG

    0_1547960094653_asgard-permission-role-media.PNG

    Page & Media Modules permissions of the user under company_admin user role:

    0_1547960195981_asgard-permission-usr-page.PNG

    0_1547960209320_asgard-permission-usr-media.PNG

    company_admin user role permission in db:

    {"block.blocks.index":true,"block.blocks.create":true,"block.blocks.edit":true,"block.blocks.destroy":true,"blog.posts.index":false,"blog.posts.create":false,"blog.posts.edit":false,"blog.posts.destroy":false,"blog.categories.index":false,"blog.categories.create":false,"blog.categories.edit":false,"blog.categories.destroy":false,"client.clients.index":true,"client.clients.create":true,"client.clients.edit":true,"client.clients.destroy":true,"comments.comments.index":true,"comments.comments.edit":true,"comments.comments.destroy":true,"contact.contactrequests.index":true,"contact.contactrequests.show":true,"contact.contactrequests.destroy":true,"core.sidebar.group":true,"dashboard.index":true,"dashboard.update":true,"dashboard.reset":true,"gallery.galleries.index":true,"gallery.galleries.create":true,"gallery.galleries.edit":true,"gallery.galleries.destroy":true,"media.medias.index":true,"media.medias.create":true,"media.medias.edit":true,"media.medias.destroy":true,"media.folders.index":true,"media.folders.create":true,"media.folders.edit":true,"media.folders.destroy":true,"menu.menus.index":true,"menu.menus.create":true,"menu.menus.edit":true,"menu.menus.destroy":true,"menu.menuitems.index":true,"menu.menuitems.create":true,"menu.menuitems.edit":true,"menu.menuitems.destroy":true,"page.pages.index":true,"page.pages.create":true,"page.pages.edit":true,"page.pages.destroy":true,"profile.profiles.index":true,"profile.profiles.create":true,"profile.profiles.edit":true,"profile.profiles.destroy":true,"projects.posts.index":true,"projects.posts.create":true,"projects.posts.edit":true,"projects.posts.destroy":true,"projects.categories.index":true,"projects.categories.create":true,"projects.categories.edit":true,"projects.categories.destroy":true,"services.services.index":true,"services.services.create":true,"services.services.edit":true,"services.services.destroy":true,"setting.settings.index":true,"setting.settings.edit":true,"slider.sliders.index":true,"slider.sliders.create":true,"slider.sliders.store":true,"slider.sliders.edit":true,"slider.sliders.update":true,"slider.sliders.destroy":true,"slider.slides.index":true,"slider.slides.create":true,"slider.slides.store":true,"slider.slides.edit":true,"slider.slides.update":true,"slider.slides.destroy":true,"tag.tags.index":false,"tag.tags.create":false,"tag.tags.edit":false,"tag.tags.destroy":false,"taxonomy.vocabularies.index":false,"taxonomy.vocabularies.create":false,"taxonomy.vocabularies.edit":false,"taxonomy.vocabularies.destroy":false,"taxonomy.terms.index":false,"taxonomy.terms.create":false,"taxonomy.terms.edit":false,"taxonomy.terms.destroy":false,"team.teams.index":true,"team.teams.create":true,"team.teams.edit":true,"team.teams.destroy":true,"testimonials.testimonials.index":true,"testimonials.testimonials.create":true,"testimonials.testimonials.edit":true,"testimonials.testimonials.destroy":true,"translation.translations.index":false,"translation.translations.edit":false,"translation.translations.import":false,"translation.translations.export":false,"user.users.index":false,"user.users.create":false,"user.users.edit":false,"user.users.destroy":false,"user.roles.index":false,"user.roles.create":false,"user.roles.edit":false,"user.roles.destroy":false,"account.api-keys.index":false,"account.api-keys.create":false,"account.api-keys.destroy":false,"workshop.sidebar.group":true,"workshop.modules.index":false,"workshop.modules.show":false,"workshop.modules.update":false,"workshop.modules.disable":false,"workshop.modules.enable":false,"workshop.modules.publish":false,"workshop.themes.index":false,"workshop.themes.show":false,"workshop.themes.publish":false}

    UPDATE

    I recently figured out that if I click browser back button after the "Not logged in error" popup it will go back to the required page as it should do in the first place.

    alt text


Log in to reply
 

Looks like your connection to AsgardCms was lost, please wait while we try to reconnect.