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

Forums / General Discussions / How to prevent an user to delete a web page

How to prevent an user to delete a web page

4 posts, 0 answered
  1. NK
    NK avatar
    82 posts
    Registered:
    15 Apr 2010
    22 Jul 2010
    Link to this post

    Hi,

    I had a web application in which I created an user. And this user only has only View and Create page rights. But,

    After a new page, which is created by this user, has been approved and published, this user is able to delete it.

    How do I prevent an user to delete page which has been published.

    Please help.

     

    Thanks,

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    22 Jul 2010
    Link to this post
    Hello NK,

    Which version of Sitefinity you use? In 3.x edition there is owner role that has specific rights. By default the owner can delete all pages that has been created by him. You can modify the role permissions from Page >> Permissions.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. NK
    NK avatar
    82 posts
    Registered:
    15 Apr 2010
    22 Jul 2010
    Link to this post

    Thanks you for response.  I am using a trial version 3.7.

    As you said, an admin should create an web page and set permission to allow user to have a Modify rights to be able to update web page. I like that design!


    Ivan, how to prevent an user to delete Modules such as his/her generic content which published?
     

    Please help!


    Thanks,
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    22 Jul 2010
    Link to this post
    Hi NK,

    Permissions per content items are not available out of the box in 3.x editions. We will have granular permissions in Sitefinity 4.0 which CTP is available for downloading.

    You can implement granular permissions in 3.x edition by creating a  web service that will be used to bind RadGrid control used in GenericContent based modules. Inside your webservice you can check the current user and apply some additional restrictions over it.

    Just to let you know that this thread is used for questions related to Sitefinity 4.0. Please use appropriate thread for 3.x edition.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered