SID-01719: How to restrict user to edit other users profile?
| Status: |
Answered |
TWiki version: |
5.1.3 |
Perl version: |
5.10.1 |
| Category: |
CategoryAccessControl |
Server OS: |
CentOs 6.3 |
Last update: |
12 years ago |
Hi Team,
In my my current twiki application any user can edit anyone profile. I want to set default permission for user in such a way that user can edit only self profile.
Thanks,
Madhuri
--
Madhuri Yevale - 2013-06-04
Discussion and Answer
To do this you need to edit the new user template to include your access control settings. That way when a new user is added to the system, their topic will be created with the access controls already in place. For those users who are already in the system, you will need to go back and edit those individually.
See:
TWikiAccessControl and
NewUserTemplate
--
Joshua Tharp - 2013-06-05
I would not worry / do not recommend to restrict access to user profile pages. For educational purposes it is better to leave them unrestricted. Restricting access is "old style", revision control and peer pressure take care of access control in TWiki. Read TWiki/TWikiAccessControl#ImportantConsideration.
--
Peter Thoeny - 2013-06-06
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.