More in this section

Permission

6 posts, 0 answered
  1. Amit Singh
    Amit Singh avatar
    4 posts
    Registered:
    09 Apr 2010
    09 Apr 2010
    Link to this post
    Dear Team,
     I have created my own page in sitefinity like PurchaseOrder.aspx .
     I want to add new permission purchase Order  in your permission Screen through which i can give the rights to perticular users to access my page Purchase order.Right now its visible for all users which is wrong.

    Manage users
    Manage permissions
    Manage files
    Edit templates
    CmsAccess
            Purchase Order  

      Please provide me any suggestion..   
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    09 Apr 2010
    Link to this post
    Hello Amit Singh,

    These are the global permissions that apply for the CMS. Each page has Permissions that from where you could set which role could see or manipulate your page. Additionally you could set Anonymous Access to Deny, so that only authenticated users will be able to see/not to see this page.

    Sincerely yours,
    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. Amit Singh
    Amit Singh avatar
    4 posts
    Registered:
    09 Apr 2010
    09 Apr 2010
    Link to this post
    Dear Ivan,
     Would you like to give me some code reference for this permission so i can refer that code.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    09 Apr 2010
    Link to this post
    Hi Amit Singh,

    There is no code reference for this. You have just to go the this  page and click its Permissions tab and set the permissions. Each page has Properties tab from where you could set the properties for this object.

    All the best,
    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.
  5. Amit Singh
    Amit Singh avatar
    4 posts
    Registered:
    09 Apr 2010
    09 Apr 2010
    Link to this post
    Dear Ivan,
     I am asking for link which is under Dash Board.I want authorization for dashboard link. My link Name is Add Payment Details.I want to add my link permission in Permission page.
    Please suggest me .
     

    Dash to:

  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    12 Apr 2010
    Link to this post
    Hello Amit Singh,

    For adding permissions, please refer to this reply . The easiest way is to have some hardcoded values for the permission over the link. You could get the current user Role (UserManager.GetCurrentUserRoles) and depending on the role show or hide the link. You can do this in Sitefinity\Admin\Default.aspx. The links are added by a repeater repeaterModules which you can access. You could use appSettings node of the web.config and read the required permissions from there.

    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.
Register for webinar
6 posts, 0 answered