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

Forums / Developing with Sitefinity / Videos Permissions in Sitefinity 4.1

Videos Permissions in Sitefinity 4.1

2 posts, 1 answered
  1. RameshKumar
    RameshKumar avatar
    4 posts
    Registered:
    17 Jun 2011
    10 Aug 2011
    Link to this post
    Hi,

    I have been building a custom template to display the videos thumbnail list along with few more additional fields. When moving next to the permissions part, i am little stuck ...

    Can you please let me know where the videos' permissions are stored in the backend tables (table name would be helpful)?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    10 Aug 2011
    Link to this post
    Hello Rameshkumar,

    I am not sure why you need the database tables, since there is API and UI. Anyway,

    You can query
    [sf_libraries_sf_permissions]
     
    Then query [sf_permissions] by the result returned from id2 coulmn of [sf_libraries_sf_permissions]

    from [sf_permissions] check the value of grnt - it should be 1 and for deny it should be 0
    In the line returned from [sf_permissions]  there is a column [principal_id] which value you can use to query [sf_roles] by Id.


    All the best,
    Ivan Dimitrov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
    Answered
2 posts, 1 answered