Page 1 of 1

[SOLVED]How to "allow Users to login and edit their own page, and nothing else."

Posted: Wed Sep 01, 2010 5:54 pm
by clm314159
I have used CMSMS for other sites in the past and found it useful. Now I am working in a university and my task at hand is to create a faculty site that will host faculty members' pages and allow the faculty members to log in and edit their own pages and nothing else.

I have looked through the admin portion of site that I am currently running and I do not see any obvious way to do this. A search of the forums only yielded a posting from a module developer that wanted a starting point to build a module to do this. His post went unanswered.

I will be installing a new system to do this and the old system that I looked through is v.1.5. So let me know if the new CMSMS does this or if there is a module that I can use.

Thanks,
Chris

Re: How to "allow Users to login and edit their own page, and nothing else."

Posted: Wed Sep 01, 2010 9:15 pm
by Dr.CSS
Newest version has more fine grain permissions to let you do this w/o a module, but you may have to set the page then give the user owner of it...

Re: How to "allow Users to login and edit their own page, and nothing else."

Posted: Sat Sep 04, 2010 2:02 am
by NaN
Create users without any permission.
Create pages and set those users as additional editors (see the options tab).
This should be all.
;)

Re: How to "allow Users to login and edit their own page, and nothing else."

Posted: Thu Sep 09, 2010 2:51 pm
by clm314159
Hey Thanks!

I tried this and I think it works.

One thing though, and I am not sure if it is a bug or not. The Additional editors box contains all the groups and users in it always and I see no way to add or remove users from that box. That is the odd behavior and here is what I did to get it:

    1. I am using XAMPP on Win7 with CMS MS v.1.8.2
    2. I created 2 new users (prof1 and prof2) and did not assign them to a group, therefore they have no permissions.
    3. I assigned them each a page by creating it and then changing the owner attribute to each of them respectively. (Each prof has his own personal page)
    4. I checked and each prof can edit his own page and nothing else.

So, it seems to have worked, but the Additional Editors box still lists everyone and every group as additional editors. Am I doing something wrong or is this a bug?

Re: How to "allow Users to login and edit their own page, and nothing else."

Posted: Thu Sep 09, 2010 4:19 pm
by NaN
Sorry i don't get the point of your problem.
What did you expect?
The additional editors box is meant to always list all users and groups to assign them to a page.
Why should existing users disappear from this box?

Re: How to "allow Users to login and edit their own page, and nothing else."

Posted: Thu Sep 09, 2010 7:09 pm
by clm314159
I thought the Additional Editors box listed users that "additionally" could edit the page, not users that "could" be added to the list of editors.

So let me see if I got this straight, the owner, and a member of the admin, designer, or editor group can edit a page. While all the users and groups are listed in Additional Editors list as potential editors? And since only one user can own a page, only one lone user (user not in a group) can edit a page?

Re: How to "allow Users to login and edit their own page, and nothing else."

Posted: Thu Sep 09, 2010 7:24 pm
by Dr.CSS
The extra editors in that box are available to be added to the page as editors, but only the super admin or the new single person page editor can add them, if the new page editor happened to want one of the other people in that box to help edit they have the ability to do so...

Just because they are there they can't do anything until added...

Re: How to "allow Users to login and edit their own page, and nothing else."

Posted: Thu Sep 09, 2010 8:19 pm
by NaN
clm314159 wrote:
I thought the Additional Editors box listed users that "additionally" could edit the page, not users that "could" be added to the list of editors.
Nope that's not the case.
It is a multiple select input element that show just users/groups.
Only selected users/groups belongs to the additional editors of a page.
So additional editors of a page will only be added if selected and page is saved.

Admins and the pages authors can select who is able to edit that page additionally.
And therefore they need to see what uers/groups are available.
If nothing is selected in that box only admins and auhtors may edit that page.