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

Forums / Bugs & Issues / Images & Documents module permissions

Images & Documents module permissions

10 posts, 0 answered
  1. Mike
    Mike avatar
    221 posts
    Registered:
    19 Aug 2008
    25 Feb 2009
    Link to this post
    Is it just me or am i all of a sudden unable to set permissions of a library?
    1. Select Library
    2. Click "Permissions"
    3. Change permission for specific role
    Permission change for all libraries in the module... i know it never used to be like this because i have libraries which exist with different permissions.

    Duncan
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    26 Feb 2009
    Link to this post
    Hi Duncan,

    Thank you for using our services.

    Permissions are implemented per module, not per library. You could edit the LibraryListView  template. There are two modes for listing the libraries -  Boxes(repeater) and List (grid- AllLibrariesGrid_ItemDataBound method is used here). Then, you could try hiding some of the libraries depending on the current user that has been logged in.

    I hope this helps.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Mike
    Mike avatar
    221 posts
    Registered:
    19 Aug 2008
    26 Feb 2009
    Link to this post
    Ivan,

    That is interesting because somehow i have managed to create a library where a certain role is unable to edit create or delete items but is able to perform these function on other libraries.

    I will investigate further, maybe i can get you more details... I will post back here...

    Duncan
  4. Mike
    Mike avatar
    221 posts
    Registered:
    19 Aug 2008
    26 Feb 2009
    Link to this post
    Ivan,

    Yeah i have looked at this and checked what i am seeing twice...

    1. I have 2 different libraries with images
    2. One of my roles has access over the one library but can not edit or delete any images from the other library.
    This is the way i originally set this up because i did not want anyone modifying this specific role.

    So i am rather confused if i should not be able to set permission for a role on a library by library basis... I definitely did this before and now i am unable to do this?

    Am i going crazy??

    Duncan

  5. Mike
    Mike avatar
    221 posts
    Registered:
    19 Aug 2008
    26 Feb 2009
    Link to this post
    If you like i can even send you screen shots of this user in this role being able to edit images in one library but not in the other... I swear i'm not crazy!

    Duncan
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    27 Feb 2009
    Link to this post
    Hi Duncan,

    It could be done only if the user you use is the owner of the items that can be viewed, modified, deleted. If my user has uploaded "image1", he/she will be able to delete this image even under permissions setting - Delete is set to deny. When Delete is set to deny this user will not be able to delete images that have been uploaded by other users.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Mike
    Mike avatar
    221 posts
    Registered:
    19 Aug 2008
    03 Mar 2009
    Link to this post
    Ok this makes a little more sense now...

    Which files should i modify to deny upload and modify right to a certain role?

    Thanks,

    Duncan
  8. Slavo
    Slavo avatar
    295 posts
    Registered:
    24 Sep 2012
    04 Mar 2009
    Link to this post
    Hi Duncan,

    You don't have to modify any files. You can only set the corresponding rights through the Permissions screen in Libraries and they are kept in the databse. Is this what you are asking for?

    Kind regards,
    Slavo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  9. Mike
    Mike avatar
    221 posts
    Registered:
    19 Aug 2008
    04 Mar 2009
    Link to this post
    Slavo,

    No, i would like to hide certain Image Library from certain Roles or disallow upload to a library for a certain role or disable modifying of a library for a certain role... But also give this role the permission to create edit modify and delete files in all other libraries.

    Since the permission are set on the module level, i am guessing i would have to add some custom code to protect the libraries that i want to protect while giving the role full access to other libraries?

    Duncan
  10. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    05 Mar 2009
    Link to this post
    Hello Duncan,

    Check out the following forum thread where I provided required solution http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-bhdchm.aspx. You can extend the example in accordance of your requirements.

    I hope this helps.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
10 posts, 0 answered