Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove button from Security Groups subpanels is hidden or not based on ListView permissions instead of EditView permissions #10543

Open
SinergiaCRM opened this issue Oct 7, 2024 · 0 comments
Labels
Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Severity: Moderate Key function failed, but no or little impact Type: Bug Bugs within the core SuiteCRM codebase

Comments

@SinergiaCRM
Copy link
Contributor

Issue

Depending on the pemissions given to a regular user (non administrator) can not remove a security group from a record (Contacts, Accounts...) from the subpanel on that record but from the bulk action on list view. This behavior is not consistent.
Inspecting the code we found that it was being used permission on list view instead of edit view to control the appearance of that button on subpanels.

Possible Fix

No response

Steps to Reproduce the Issue

1.Create a user U1
2.Create a security group SG1
3.Create a Role R1 and assign group permission on every action of every module
4.Assign SG1 and R1 to U1
5.Login with user U1 and check that it can not see the remove button on the subpanels
6.Change permissions for R1 on Edit Security Groups and set "Not established". Check that the button is still hidden
7. Change permission for R1 on List Security Groups and check that now the button is shown.

Context

No response

Version

7.14.4

What browser are you currently using?

Chrome

Browser Version

No response

Environment Information

MAriaDB, PHP 7.4

Operating System and Version

Debian

@SinergiaCRM SinergiaCRM added the Type: Bug Bugs within the core SuiteCRM codebase label Oct 7, 2024
enricsinergia pushed a commit to SinergiaTIC/SuiteCRM that referenced this issue Oct 7, 2024
@johnM2401 johnM2401 added Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Severity: Moderate Key function failed, but no or little impact labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Severity: Moderate Key function failed, but no or little impact Type: Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

No branches or pull requests

2 participants