Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

Permissions by user


Go to End


4 Posts   2143 Views

Avatar
erwanpia

Community Member, 63 Posts

17 December 2008 at 12:09am

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

Avatar
justjc51

Community Member, 23 Posts

17 December 2008 at 1:15am

Edited: 17/12/2008 1:15am

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.

Avatar
MrElf

Community Member, 9 Posts

29 December 2008 at 6:57pm

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.

Avatar
neros3

Community Member, 51 Posts

3 June 2010 at 9:40am

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!