1.2 Fixed disabling control was turning settings to private - enables even if one option
See:
http://kreotekdev.wordpress.com/2007/11/08/disabled-vs-readonly-form-fields/
NOTE - this plugin is being used in production - but you do need to test it on your site first and read proviso below
IMPORTANT
This needs some work with groups - you may wish to override the groups edit access control to point to a copy of the original. Will try to post an update on this.
This is a very minimal mod but you may find it useful.
This plugin defaults to public only access for all inputs
If you want to modify this go to the sub-folder "views/default/input", and edit "access.php":
Set the switches the way you want
START
// Switches for which settings are allowed
$allowACCESS_PRIVATE = false;
$allowACCESS_LOGGED_IN =false;
$allowACCESS_PUBLIC = true;
$allowACCESS_FRIENDS = false;
END
Note.
1) group access settings are ignored with this input control
this means nobody can set them
2) if there is only one option the access dropdown control is shown but disabled
3) This was done because frankly it gets very confusing for a user
Mark Beachill
View MarkBeachill's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
has anyone tried this yet?
nope
Hello Mark,
I tried this and it seems to work but I got a problem. As a user of a group makes a choice "private" in the "original" access settings then others can not "edit" or "delete" the album/pages etc. but they can "see" the album/pages. This is wat I want.
When using this plugin it is great to make the access "private" as default and there is no other choise.
But now other users can not "see" the "private" album/pages.
Is there something that I can do about this?
Thanks
Hi, how do you add another option like 'Employer' I have two types of profiles by using Profile Manager and I would like one type of profile to have a separate access... any ideas apreciated. Thanks
Hi you can download my Releases edit bug fix group access
http://elgg.in.th/pg/file/lungkao/read/1999/access-with-fewer-options-edit-bug-group-access