Skip to content

When setting User Groups to 'Defer to the User', setting can lead to user being told they have no permissions #3266

@kim-fitness

Description

@kim-fitness

Describe the bug
“Defer to the Users Setting” in user group setting leads to user cannot login to his specified page

To Reproduce
Steps to reproduce the behavior:

  1. Set the Login Options to a non default option in user setting page for user A (cacti/user_admin.php).
  2. Give the user A permission to the specified page from user setting page->Permissions tab and remove other permissions.
  3. Log out and log in, the user A will be redirected to the specified page.
  4. Log in as admin and put the user A to a user group.
  5. Set the Login Options as 'Defer to the Users Setting' to the user group and give the group permission to the specified page that set in step Few miscellaneous fixes, typos and minor things #2.
  6. Log in as the user A, the A will login failed as no permission to the page.

Expected behavior
When setting “Defer to the Users Setting” in user group setting, the group member should be login to his specified page as default.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions