Rock
Rock copied to clipboard
Group Member Requirement Override: Allow Leaders to Override not functioning.
Description
When attempting to Override a group requirement as a leader or as a person in a role that is allowed to override the requirement, it does not allow the requirement to be overridden. This prevents a person from being added in a role that has group requirements when needing to override the requirement. This was tested in v15.3, v16.2, and v17.0.16. v17.0.16 has a slightly different result explained in the steps to reproduce.
Actual Behavior
Leaders or security groups assigned to be able to override are unable to override Group Requirements.
Expected Behavior
Leaders would be able to override Group Requirements for Group Members.
Steps to Reproduce
- Have a Group Requirement Type (Demo: Background Check Required)
- Assign a security role to the override permissions. (RSR - Rock Administration)
- Assign the Requirement Type to a Group Type making sure to set "Allow Leaders to Override", "Members must meet this requirement before adding", and assign it to a Role (Leader).
- Add a person (person must not meet the requirement) to a group (to a Group Type that has the Group Requirement assigned) in a Role that does not have the Group Requirement assigned.
- Change the Group Member from the current Role to the Role that has the group requirement.
- You will see that the requirement is not met. It also does not have the option to "Mark as Met"
- Upon trying to save there is an error presented at the top of the screen. "Cindy Decker must meet the following requirements before being added or made an active member in group 'Greeters': Background Check Required"
- The Mark as Met is now visible.
- Click the "Mark as Met", you will be prompted to confirm, then the page will reload and revert the role back to Member and not setting the requirement as met.
- Changing the Role back to Leader will repeat the same process.
- We are unable to Override the requirement.
In v17.0.16 after step 5. When changing a member from a role to another role that has group requirements that are not met, it immediately allows an override without hitting save. Upon clicking the "Mark as Met" it refreshes the page and reverts the role back to the original. Upon re-selecting the new role, the requirement is met, but you are still presented with the "Please correct the following:" alert and it will not allow you to save.
Issue Confirmation
- [X] Perform a search on the Github Issues to see if your bug or enhancement is already reported.
- [X] Try to reproduce the problem on a fresh install or on the demo site.
Rock Version
16.3
Client Culture Setting
en-US
@nharmonCOTH Thank you for submitting your first issue and providing all the details necessary to recreate it.
I wanted to mention that Rock is all about community and a key part of strengthening this bond is knowing who we're engaging with. Could I ask you to include your name, organization, and a photo on your GitHub profile? It's a simple way to put faces to names, fostering a more connected and personal community atmosphere.