Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Removing security tab for certain groups

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1633 Views
  • Phill
    Avatar
    Community Member
    75 Posts

    Removing security tab for certain groups Link to this post

    Hi

    Im building a site with multiple user groups one of the user groups need to be able to access the cms and newsletter tab but not the sequrity tab. Is this possible because when ever i remove "Access to SecurityAdmin in cms" users in that group can no longer log in.

    But if i do include it although the user cant change the groups permissions they can still add, delete and the edit user details.

    Any ideas on how i would go about solving this?

    Thanks Phil

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Removing security tab for certain groups Link to this post

    Hi Phil

    I've already done that without problem. For a group that only has access to "Site Content", "Files & Images" and "Newsletter" i enabled the following access rights:
    AssetAdmin
    CMSMain
    GenericDataAdmin
    LeftAndMain
    NewsletterAdmin
    BulkLoaderAdmin

    That works fine with SilverStripe v2.2.2.

  • Phill
    Avatar
    Community Member
    75 Posts

    Re: Removing security tab for certain groups Link to this post

    Thats strange there must be a bug ( or somehow i broke it ) in the version im using but im pretty sure certain its 2.2.2.

    With mine i have to have either sequrity admin or full administrive rights enabled for the user to be able to log in sucesfully.

    I can hide the security tab with code but is there a way to code if usergroup=='groupNameOrId' display the security tab for one selected group by using either its name or id?

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Removing security tab for certain groups Link to this post

    That's really strange. So far this worked on all my 2.2.2 installations so far. Maybe it's some sort of caching problem? Did you try ?flush=1 on the login page (Security/login?flush=1).

  • Phill
    Avatar
    Community Member
    75 Posts

    Re: Removing security tab for certain groups Link to this post

    Hey

    I had tried a db/build?flush=1 and flush=1. Im not sure if Security/login?flush=1 is any different to ?flush=1 on normal site pages but that seemed to fix it!

    Thanks

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