Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
requests-topic
Permissions/User Groups Management Overhaul
Avatar
Bluedrake42
Member
Offline
Feb 14, 2016 - 12:56 am

I'm not a fan of the current permissions and user group system.

Managing user group permissions for forums is really time consuming, and the current system is extremely inefficient. There are some things such as "add global permission" that help cut down on work in SOME places. However for the vast majority of things... a lot of micromanagement is required.

I'd like to see in the future, a system which allows DEFAULT user permissions. And also the ability to set forced permissions for an entire GROUP (not just "on forum creation" defaults, or having to manually add a group permission for each user group.)

I'd like to enter a group, and set permissions for each user for that entire group in a simple dialogue box (similar to what already exists Default User Group permissions) but have those permissions be force applied, or be the standard for that entire group without having to micromanage each individual sub-forum (or use the "add permission" tool)

Additionally... it would be really nice to have DEFAULT user group permissions. So instead of having to set permissions for each user, for each forum, just for them to SEE it... all users WITHOUT a permission group assigned... automatically have a default permission (such as full access, or read only.)

This would mean instead of me having to manually assign EVERY group to EVERY forum, I could just micromanage outlier user groups for specific forums (so for instance if I don't want default users to see a forum, I could manually create a permission for them to NOT see that forum)

I think this would go a long way. LONG way. to making permission management easier, and more streamlined. Let me know what you think, or if you would like me to explain anything further.

Also if this functionality somehow already exists and I just missed it... please feel free to point it out.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Feb 14, 2016 - 12:37 pm

do you change your permissions that often?  once you set for a group, any new forums will get the default permissions you set for that group...

for new forums in that group that you want unique, not sure how that could be anticipated...

have made a note of some of your suggestions...

Avatar
Bluedrake42
Member
Offline
Feb 14, 2016 - 6:52 pm

Yeah we do. Here if you check this out.

http://bluedrake42.com/community/forum/

Whenever we open up support for a new game, I have to create new roles for that game (administrator, senior administrator, etc) and then I have to manually assign every role its permissions to every preexisting forum.

I mean I CAN use the add global... but then I still have to go through every preexisting forum that has specialized permissions to either delete, change, or whatever.

I'd rather just create a new user group... and have their default permissions to all forums which they don't have a permission assigned... just be something by default. So like I could create a forum, and have it just be like... this forum is PUBLIC to everyone, unless I specifically assign a permission otherwise. Or create a forum and have it be like... this forum is PRIVATE and locked to everyone, unless I create a permission for each group stating otherwise.

Having something like that would make my life exceedingly easier than it is now.

Also it would be really nice if you could support multiple roles with Wordpress sync. There are a few plugins that allow the ability to assign multiple roles... and if we could somehow integrate that... that would also make my life obscenely easier.

Specifically this plugin.
https://wordpress.org/plugins/.....reenshots/

That's the simplest most direct multiple role system that exists. If you could somehow make that work with SP... everything would really fall into place for me.

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Feb 17, 2016 - 5:05 am

I am speaking personally here and making no promises but I am sympathetic with the idea of supporting multiple roles.

Again - not sure how much you know about how WP works - but when a user role is changed in WP it fires an action hook named 'set_user_role'. This informs any plugin listening - like Simple:Press - that a users role has changed and allows for that plugin to take any action needed. This is how user roles are mapped to user groups in Simple:Press.

The default single nature of standard WP roles makes this easy - the action hook passes 2 data items - the users ID and the new Role (passed as the name of the role - i.e., 'editor', 'subscriber' etc.,) and fully supports extra, plugin created roles.

The first problem with your 'multiple-roles' plugin is that the action hook does indeed get fired. But the new roles are not passed along. The role parameter, in fact, is passed as an empty string. This is regardless of whether a single or multiple roles have been applied.

If that were fixed then Simple:Press would still require some modification to deal with the possibility of a roles array being passed - but that should be pretty straightforward. There may be some gotchas in there - like, for example what to do if a user has the 'single user group' setting turned on but multiple new roles are passed in - but in essence supporting multiple roles should not pose too many problems.

So you may, perhaps, want to have a discussion with the multiple-roles plugin author in the first instance.

[Update] OK - I should have looked closer at our code! Seems we already support multiple roles and the roles being passed as an array. Good for us! 

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625