More in this section

Forums / Developing with Sitefinity / Customize adminsite for sharepoint like use

Customize adminsite for sharepoint like use

4 posts, 0 answered
  1. Richard van der Helm
    Richard van der Helm avatar
    32 posts
    Registered:
    29 Oct 2005
    04 Nov 2008
    Link to this post
    In sharepoint a user can log in and the  create and modify it's own pages. Is it possible to modify the admin part of sitefinity in such a way that this would be possible.

    structure would be

    root
       - anonymus web
       - public part. (with login)
           - general pages(for all public users)
            - user pages(for specific user)

    on the public part a link to adminsite. In the adminpart the user should only see its  own userpages to create, modify etc.. The controls to add should also be limited from the general control list.

    thnx
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    05 Nov 2008
    Link to this post
    Hello Richard,

    It is possible to achieve your idea with Sitefinity. The solution is based on page permissions, page inheritance and page ownership.

    Let's say you have 2 users - user1 and user2. By default there are two roles in Sitefinity - administrators and everyone. From Administration>Permissions you can set CmsAccess for everyone role to allow.
    Then, create a page (called userpages in my example) with Anonymous access set to deny. Thus, only authenticated users will see this page. From permissions tab, for Everyone role set View and Create to allow.

    As a result when you are logged with user1, you will be able to see, create,edit and set permissions to your pages. From permissions tab you could set View to deny and other users will not see your pages. You will not be able to edit user2 or administrator pages as well as changing permissions and other settings.

    generalpages
     -generalpage1
     -generalpage2

    //can be hidden from the admin part for your public users. Only View option is allowed for everyone role. Owner is admin. These pages cannot be edited by other user.

    userpages
    -user1page
    -user2page


    //Deny anonymous, View and Create are set to allow for everyone role. Owner is admin for userpages page, page cannot  be changed by users. Users create pages that inherit permissions from userpages page

    I hope this helps.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Richard van der Helm
    Richard van der Helm avatar
    32 posts
    Registered:
    29 Oct 2005
    06 Nov 2008
    Link to this post
    Hi Ivan,

    Thanks for your reply. It's helping a lot. We try to create a dynamic portal where users can create user specific page where the can drop reports(crystal report viewer user control) and grids on.

    Still some questions from your example.

    - If both user1 and user2 are member of everyone, how can i prevent user2 from having access to user1 pages and vice versa. From my understanding page permission are per role and not per user in version 3.5? I suppose you can create a role per user but then every time you add a new users you have to update all the pages under userpages as per your example to deny this user to the other pages.

    - Is it possible to limit the templates per user or role which can be used by a user?

    - Is it possible to limit the controls per user or role which can be used by a user from the toolbox in editmode?(i read somewhere in the forums that this was for version 4?)

    thanks for your help.

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    06 Nov 2008
    Link to this post
    Hello richard van der Helm,

    Thank you for getting back to us.

    For instance, you decided to use CreateUser control located under Login section of the Toolbox. There is a property DefaultRoles where you can set a default role for the user that have used this form. You can set permissions for this role. Also, evey user can set whether his pages to be visible or not. If user one set Visible to deny, no one else will be able to see his/her pages.

    Controls from the toolbox cannot be hidden for separate role or user. This also applies for themes. We have not implemented this functionality yet. Probably in version 4.0 where we are going to make changes in GC.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered