Jump to:

10848 Posts in 2516 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Subsites and Files & Images

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 841 Views
  • Wilson
    Avatar
    Community Member
    63 Posts

    Subsites and Files & Images Link to this post

    Hi everyone,

    I've researched this quite a bit, but don't see a clear answer.

    We have 200 subsites in this particular project, and each one needs to be restricted to and only see its own asset folder under Files & Images.

    I have been looking at SecureFiles, which I'm wondering could be extended to hide non-related directories. Hmm.

    Has anyone accomplished this previously?

    Thanks!
    Wilson

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: Subsites and Files & Images Link to this post

    Hey Wilson,

    Re Secure Files, I looked at doing this but I don't believe it is possible without hacking the core of AssetAdmin.

    Will have to check on the exact method involved, but have a poke around and you should find the method that generates the folder tree. If you simply hook in a call to canView then you should be able to show/hide based in secure files permissions.

    841 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.