Roles or permissions to move pages

Posted by Community Admin on 04-Aug-2018 15:16

Roles or permissions to move pages

All Replies

Posted by Community Admin on 10-Feb-2015 00:00

Is it possible to require a role to move pages? I'd like to restrict users from moving pages. This is in the /sitefinity/pages backend view. 

 Tia

Posted by Community Admin on 13-Feb-2015 00:00

Hi Richard,

Thank you for contacting us.

In order to deny a role's ability to move around pages in the backend, you need to explicitly deny the Modify page properties permission. Note that this will disallow the role to be able to modify the page's title, url, keywords, description etc. Please see attached for reference.

More information on permissions can be found in our Documentation:

http://docs.sitefinity.com/overview-permissions

http://docs.sitefinity.com/tutorial-grant-permissions-for-pages

I hope this helps and please let me know if you have any additional questions.

Regards,
Pavel Benov
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 13-Feb-2015 00:00

Hello Pavel,

 Your notifications in the email for replies appears to have cosmetically changed and I like it. Also, the promptness to replies is always appreciated. I am still at crossroads.

What I need to do is take away the ability to move pages EXPLICITILY. I want users to still have the ability to update page properties like you outlined above, but only disallow moving the page. Is this option possible?

Option 2. Can I put in a confirmation for moving pages. Scenario. A user picks a page, and moves it up or down. Then I want a prompt the user 'Are you sure you wish to move your page?'

 Option 1 and Option 2 are two ways for me to protect the movement of pages in it's structure, whether deliberate or accidental. Can you reply and address both options explicitly?

 Thank you,

Charles

Ps, Tia is 'Thanks In Advance'. My name is Richard or Charles :)

Posted by Community Admin on 18-Feb-2015 00:00

Hi Richard,

You can extend the PagesService where there are methods like MovePageUp/Down, PlacePage etc. associated with movement of pages in the hierarchy. More on this you can find in our Documentation:

http://docs.sitefinity.com/for-developers-list-of-web-services

and API reference:

http://docs.sitefinity.com/api-reference

However since you are preserving the Page property modification for this role, the users could easily enter the Title & Properties screen of the page and change its location there from the page selector. Therefore I recommend leveraging the permissions instead of customizing those implementations to restrict the users.

Regards,
Pavel Benov
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed