Loading...
 

Roles and Permissions

An ever so often upcoming topic is how to extend Tiki's permission system form groups/category to roles/groups/category.

Here is an idea:

Currently we have


When I edit category permissions, I have the opportunity to copy the permission set of a group and simply paste it to another category, when I edit the category permissions of another category.

So copying a set of permissions work.

What I cannot do (currently), is to paste the very same set of permissions of the group which I copied from to another group.

The idea


The idea is, that I create a number of arbitrary groups as templates, which act as roles - let's call them "role templates".
Then I could create a category or use an arbitrary existing category to "store" those role templates, when I choose all the "role template" groups and apply the relevant permissions to those groups (to the "role templates") in that category.

So far so good - I can do that now.

But if I could here copy the set of permissions of each of them groups (for now one role template at a time) and then go to another browser tab where I open the permissions of another category and paste my copied set to another group there, then I would have given the group there the role permissions of the role template here.

A more detailed description of the idea


Any arbitrary category A acts as container for the role permissions.
I have created following groups:
UserRTPL
MemberRTPL
EditorRTPL
ChiefEditorRTPL
AdminRTPL
And apply appropriate permissions for them groups in category A

I have a category B
And I have created the following groups:
UserB
MemberB
EditorB
ChiefEditorB
AdminB

How it is:

If I copy the permissions of the group UserRTPL from category A to category B, then the group UserRTPL will habe the same permissions in category A and B and the group UserB will have no permissions any each one of both categories.

How it shall be:

Given Devs added an option, maybe a tick box or what so ever, to optionally inject the set of permissions to another group:

I copy the permissions of the group UserRTPL from category A and go to category B.
There I inject the copied set of permissions to group UserB.

The effect:
1. Group UserRTPL (the role teplate) has still only permissions in category A, but none in category B
2. Groups UserB has no permissions in category A, but has in category B the exact same permissions as UserRTPL has in category A.
Thus I have given a group a set op role permissions based on a role template by simply copying the whole set from one category to another whilst defining the group that "get's the copy".

Depending on how deep to go into the code and how difficult changes might be, I can imagine that it could be possible to do some automatization to copy more than one at a time, for example to copy 5 sets of permissions of 5 role templates to 5 groups at a time.

Or it could maybe be possible to "teach" Tiki what a role template is and make it possible to apply the roles without the need to switch between categories.

Anyway having the opportunity to copy the set (as I can) and then inject to another group (as I cannot) would be a huge relieve in the context of permission management for any type of members areas or workspaces.

Created by Torsten Fabricius. Last Modification: Sunday 16 September, 2018 15:25:30 GMT-0000 by luciash d' being.

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Group
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend, alert + Social Bookmarking
Terms and Conditions
Theme
TikiTests
Timesheet
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools