SparkDevNetwork / Rock

An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
http://www.rockrms.com
580 stars 353 forks source link

Bio Summary block ignores View Protection Profile security. #5916

Closed azturner closed 3 months ago

azturner commented 5 months ago

Description

Both the 'Person Bio' and the 'Person Bio Summary' blocks add an additional 'View Protection Profile' security action. If you configure security on this action so a user is denied access, the protection profile display (the padlock displayed above their name), should not be displayed. This works correctly on the main 'Person Bio' block, but the 'Person Bio Summary' block used on all the other tabs except the main profile tab ignores the configuration and always shows the protection profile.

Actual Behavior

If you configure security on the Person Bio Summary block's 'View Protection Profile' action so that user is denied access, the user can still see the person's protection profile.

Expected Behavior

If you configure security on the Person Bio Summary block's 'View Protection Profile' action so that user is denied access, the user should not be able to see the person's protection profile.

Steps to Reproduce

Issue Confirmation

Rock Version

v16.5

Client Culture Setting

en-US