Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Permissions by user

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

Page: 1
Go to End
Author Topic: 1258 Views
  • erwanpia
    Avatar
    Community Member
    63 Posts

    Permissions by user Link to this post

    Hi, the default permission schema for pages works by groups : I would like to have the ability to set permissions for a specific user

    is this possible, and how ?

    Thanks

  • justjc51
    Avatar
    Community Member
    23 Posts

    Re: Permissions by user Link to this post

    The only solution I can come up with is to make a new usergroup for each user, when they register at your site. However I'm open to new and better ideas on how this can be done and how the user could be set to be able to post and edit their own content, but not that of others.

  • MrElf
    Avatar
    Community Member
    9 Posts

    Re: Permissions by user Link to this post

    I too am looking for a similar option.

    The site I am working on is one where I have the potential to have a large member base and want each member to have a page tree in the CMS that they can edit with their own content.

    It would also be handy to allow the uplaoding of data to default to the members data area, but that is further down the track.

    How would you go about extending the member class to be limited to their own folder that they could upload content to. This would be the only content that they could access when editing their pages. Ie add pictures to the cms etc.

  • neros3
    Avatar
    Community Member
    51 Posts

    Re: Permissions by user Link to this post

    Hi there

    Anyone came up with a good solution for this?
    I've been trying to attach users to each page tree in the site, but this doesn't work for me. In fact I can't add members.

    Been trying with:

    Model:

    static $has_many = array(
    'Members' => 'Member'
    );

    And when adding:
    $MyModel->Members()->add(Member::currentUser());

    The above just gives an error. I've been thinking about going on with groups instead, perhaps thats a solution.

    Anyone has any input on how to handle such user/member related issues?

    Thanks!

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