Re: DNN Provider 4.0 - Customize Toolbar by Role?

  •  04-14-2005, 4:37 PM

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

     Bunce wrote:
    WOW Adam - Great work!!  I've just skimmed through the post and its looks like a great enhancement.

    Just to summarise, we need to map the security config file to each role in DNN?

    Does this restrict access / viewing of folders to which the roles do not have access, say when uploading or selecting a file?

    Ideally, when navigating through the folder structure, it would be great if the Editor would check to see if the current user has the required DNN folder/file permission to access / upload files..

    Thanks again for your work on this - you're starting to pick up a great following in the DNN community!!

    Cheers,
    Andrew
     
    Andrew,
     
    Thanks for the kind words!
     
    >>Just to summarise, we need to map the security config file to each role in DNN?

    Yes.

    >>Does this restrict access / viewing of folders to which the roles do not have access, say when uploading or selecting a file?

    Yes. For example,

    admin—maps to admin.config
    default—maps to default.config
    guest—maps to guest.config

    You can customize and extend each policy file by editing the XML security policy file. You can also create your own policy files that define arbitrary permission sets.

    Comparison of the sample security policy file:

    Permissions/Resource SettingAdminDefaultGuest
    AllowUpload MarkedMarked
    AllowDelete Marked
    AllowCopy Marked
    AllowMove Marked
    AllowCreateFolder Marked
    AllowDeleteFolder Marked
    RestrictUploadedImageDimension MarkedMarked
    AutoResizeUploadedImages MarkedMarked
    MaxImageWidth 6400640640
    MaxImageHeight 4800480480
    MaxImageSize 10000100100
    MaxMediaSize 10000100100
    MaxFlashSize 10000100100
    MaxDocumentSize 10000100100
    ImageGalleryPath~/uploads~/uploads/member~/uploads/guest
    MediaGalleryPath~/uploads~/uploads/member~/uploads/guest
    FlashGalleryPath~/uploads~/uploads/member~/uploads/guest
    FilesGallaryPath~/uploads~/uploads/member~/uploads/guest
    ImageFilters.jpg
    .jpeg
    .gif
    .png
    .jpg
    .jpeg
    .gif
    .jpg
    .jpeg
    .gif
    MediaFilters.avi
    .mpg
    .mpeg
    .mp3
    .avi
    .mpg
    .mpeg
    .avi
    .mpg
    .mpeg
    DocumentFilters.txt, .doc
    .pdf, .zip
    .rar, .avi
    .mpg, .mpeg
    .mp3, .jpg
    .jpeg,.gif
    .png
    .pdf, .doc
    .txt, .doc
    .pdf, .zip


    Andrew, Let me know if you have any suggestions or inputs.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread