ElkArte Community

Project Support => General ElkArte discussions => Topic started by: jakedp on January 09, 2017, 01:53:40 am

Title: Read only
Post by: jakedp on January 09, 2017, 01:53:40 am
Is there a way to make the forum read only without changing every member or member group permissions?
Title: Re: Read only
Post by: jakedp on January 09, 2017, 02:21:54 am
I did it through creating a member group with read only rights, and adding members, then deleting them from other groups. It is a rare occurrence and may not be worth the effort to add a one click type feature. There was a few times though I wanted it.
Title: Re: Read only
Post by: emanuele on January 09, 2017, 02:35:42 am
You could have enable the "deny permission" option for groups, created a group that denied the permission to create topics and replies and assigned it to all the members. :)
Title: Re: Read only
Post by: jakedp on January 13, 2017, 07:57:43 pm
True. I created a permission profile called locked that inherited the read-only permissions, and then applied it to all the boards.  If I do not look at the permissions structure for awhile it confuses me and takes a few minutes to remember how it works. I' am not too sure I understand it completely anyways!
Title: Re: Read only
Post by: emanuele on January 14, 2017, 06:44:23 am
You are not the only one feeling confused by it. O:-)
Title: Re: Read only
Post by: Jorin on January 19, 2017, 02:01:38 am
Quote from: emanuele – You are not the only one feeling confused by it. O:-)

Simplify it with 2.0 please!
Title: Re: Read only
Post by: emanuele on January 19, 2017, 02:19:50 am
Quote from: derived – If,
the users were STILL in their original group
AND in the new "read only" group

what would be the out come?
If you enabled the "deny permission" AND you set up the new group to deny the relevant permissions (i.e. open new topics and reply to existing ones), any permission will be denied and the board will be read-only (except for admins).
If you, in the new group, just removed the permission, then nothing will change.
Title: Re: Read only
Post by: emanuele on January 19, 2017, 03:11:06 pm
You can assign the "deny" to the regular members group and most the members will be denied by default.
Otherwise you can just change the profile of the boards to "read-only" and that will do mostly the same.
Of course if you set up a group to deny and you do not assign the group then who doesn't belong to the group will be able to write.

There isn't much more to understand then. ;)

I'm not sure I understand the next paragraph, anyway I'll split it up and see if I give you the answer you want. ;)
Quote from: derived – but i am wondering what happens if you forget or miss a user....
Of course, if you forget to assign a group to a member, this member will not be affected by that group and will be able to do what is not denied by the group (a bit confusing sentence, but it does make sense, I swear! :P). And

Quote from: derived – AND they end up in both groups at the same time.
Here I'm not sure what you mean, but if a member has a group that grant a permission, and a group that deny that permission (like I explained before) the deny takes precedence.

Quote from: derived – what effect does it have on them... and more importantly, does the forum or boards go into spasms?
I'm not sure what spams has to do here here...
I would think that if the board is read only, then registrations are disabled.

Quote from: derived – which permission/group takes priority?
Priority is not based on groups or permissions. Then only level of priority is "deny" and "grant", deny has priority over grant.
Grant is additive, you cannot remove something by granting it.
Deny on the other hand is... well a removal of a grant.
Title: Re: Read only
Post by: emanuele on January 20, 2017, 03:52:11 am
It's the same in 1.0. ;)
Nothing has changed in this respect.