Dnn.Platform icon indicating copy to clipboard operation
Dnn.Platform copied to clipboard

Option to hide `PersonaBar` for specific security role(s)

Open david-poindexter opened this issue 4 years ago • 4 comments

Description of problem

Currently, if any security role is given edit rights to a page or even just a module within a page, they will see the PersonaBar and thus the EditBar. There are many use cases where this is less than desired or unnecessary.

Description of solution

Allow the PersonaBar to be hidden for specific security role(s).

Description of alternatives considered

n/a

Screenshots

n/a

Additional context

For some popular modules (e.g., 2sxc), it is often necessary to provide module edit rights to a security role (e.g., Site Content Editor). However, there is no need for a user assigned to that security role to ever need to go into Edit Mode for a given page.

Affected browser

  • [x] Chrome
  • [x] Firefox
  • [x] Safari
  • [x] Internet Explorer
  • [x] Edge

david-poindexter avatar Mar 28 '21 03:03 david-poindexter

Before DNN 9, there was a setting, Control Panel Security, with two options, Page Editors and Module Editors, which could be used to hide the control panel for module editors who were not also page editors. Would this meet your needs, or do you think a more full-featured option would be better?

I haven't looked at whether the remnants of this option continue to live on, and whether it would be easier to implement than what you're asking for. By chance, someone at Engage was asking about this setting recently b/c we're working on migrating a bunch of DNN 8 sites to latest.

bdukes avatar Apr 06 '21 21:04 bdukes

Interesting @bdukes - I didn't know about that feature, but it sounds promising to meet our typical use case (which is for module editors only to not see the PB).

david-poindexter avatar Jul 21 '21 00:07 david-poindexter

(my two cents) I think we should allow SuperUsers to manage permissions for personabar items, all items would be available to super users but then for admins, content editors and other custom roles it should be added to the permission grid of each personabar 'page'/item... if a user has no permission in any personabar page/item then he should not see personabar.... same for editbar, only visible in pages where he is able to edit something....

rodrigoratan avatar Jul 21 '21 17:07 rodrigoratan

(my two cents) I think we should allow SuperUsers to manage permissions for personabar items, all items would be available to super users but then for admins, content editors and other custom roles it should be added to the permission grid of each personabar 'page'/item... if a user has no permission in any personabar page/item then he should not see personabar.... same for editbar, only visible in pages where he is able to edit something....

Thanks for the input. I believe we are talking about different things though. This issue is about hiding the entire PersonaBar based on specific security role(s). It doesn't have anything to do with site page permissions, so I want to make sure we stay laser-focused on the idea here so we don't get off on a tangent. Your points may warrant a separate issue though, so please feel free to create one.

david-poindexter avatar Jul 21 '21 23:07 david-poindexter