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.

Customising the CMS

Permissions by user


Reply

4 Posts   1327 Views

Avatar
erwanpia

17 December 2008 at 12:09am Community Member, 63 Posts

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

17 December 2008 at 1:15am (Last edited: 17 December 2008 1:15am), Community Member, 23 Posts

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

29 December 2008 at 6:57pm Community Member, 9 Posts

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

3 June 2010 at 9:40am Community Member, 51 Posts

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!