Jump to:

23472 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Limit CMS to single interface

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 653 Views
  • micahsheets
    Avatar
    Community Member
    164 Posts

    Limit CMS to single interface Link to this post

    I have written a custom class that extends LeftAndMain. This appears as one of the main Tabs in the CMS. When a person in a particular group logs into the CMS I want to show only my custom tab and maybe the help tab. If I give permissions to only access my tab in Security then the user is not allowed to log in. If I have any of the built in tabs enabled along with my custom one then just those two show up. Is there a way to make my custom tab be the only one that shows up?

  • micahsheets
    Avatar
    Community Member
    164 Posts

    Re: Limit CMS to single interface Link to this post

    I am going to bump this thread by explaining a bit better what I really need. I can create a user that when logged in only sees the Files & Images tab and my custom tab in the CMS. However as soon as I take away the Files & Images permissions the user can no longer log into the CMS. Alternatively I can set the user to only see Site Content and my custom tab. If I want the user to only see Files & Images I can set that and it works. So how do I make my own ModelAdmin tab be the only one?

  • micahsheets
    Avatar
    Community Member
    164 Posts

    Re: Limit CMS to single interface Link to this post

    I have found that while extending LeftAndMain to include a new tab it is not easily able to be made to work well with the security system. However by extending ModelAdmin instead I can set a user to only have access to my subclass. This way when they log into the CMS they see only the tab I want them to see.

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Limit CMS to single interface Link to this post

    Have you looked under the permission control in the Security tab of the CMS. You could make a new group for your user and then just give them access permission to AssetAdmin and anything other tabs which they need

    653 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.