+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Roles or permissions to move pages

Roles or permissions to move pages

4 posts, 0 answered
  1. Richard
    Richard avatar
    103 posts
    Registered:
    04 Apr 2013
    10 Feb 2015
    Link to this post

    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

  2. Pavel Benov
    Pavel Benov avatar
    341 posts
    Registered:
    14 Mar 2016
    13 Feb 2015
    Link to this post
    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
     
  3. Richard
    Richard avatar
    103 posts
    Registered:
    04 Apr 2013
    13 Feb 2015 in reply to Pavel Benov
    Link to this post

    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 :)

  4. Pavel Benov
    Pavel Benov avatar
    341 posts
    Registered:
    14 Mar 2016
    18 Feb 2015
    Link to this post
    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
     
4 posts, 0 answered