MyBB Ideas

The MyBB Ideas site allows users to suggest new features and changes in MyBB and the MyBB Group to easily review them to decide what direction MyBB should head in. Search existing ideas.

Permission and Setting Roles

2 votes

Submitted by pcMaker, 4th September 2011, 9:56:01 PM

(I've submitted this via the forum Feedback/Suggestions already but figure it is more appropriate here):

This idea is to be able to change settings and permissions in several places all at once without having to change permission to one forum, then another, then another, and settings in one forum, then another, then another. It is possible to copy forum perms/settings to another forum, but this does not allow for a base set of settings and then overrides. By having a role for a forum containing base settings and permissions, the forum can have a role set and then still have custom settings and permissions override that of the role.

Settings would include things like: moderate new posts/thread/attachments/edits, misc options. Or perhaps these could be merged in with the permissions (can post without moderation, can attach without moderation, can edit without moderation, can use smileys, etc)

Perhaps instead of duplicating each field, a custom table could be used to store the settings and permissions and then each role would reference the id of the settings and permissions row, likewise each forum would have its own unique row:

forum_permissions(id, permissions...)
forum_permissions_roles(id, name, permid)
forum_settings(id, ...)
forum_settings_roles(id, name, settingid)
forum(id, permroleid, permid, settingroleid, settingid, ...)

For any setting or permission, if the forum specific row's value is not to inherit from the role, then that value would be used, otherwise the value from the row associated with role for the forum would be used. A change to the role's permissions changes any forum that uses that role except any custom set permissions. This could also be used for group permissions and settings.

Post a Comment

Before you can post a comment you must be a registered member of the MyBB Community Forums.

If you already have an account, log-in to it to post a comment or if you don't register a new account.