-
Notifications
You must be signed in to change notification settings - Fork 0
Access control system
Mikron edited this page Jan 5, 2017
·
6 revisions
This page contains project for access control system. Issues concerning the subject: #62.
- System should be based on RBAC, mainly for infrastructure and rights-checking
- Very little, if anything, should be resting on 'logged in' logic. The fact that user exist should not give them much. All rights should be consciously awarded.
- Main carrier of rights on the part of objects protected will be
Epic
object; user will have access to a given epic to the extent of their role in it (MG
orPlayer
) or they will have no access to any of its parts; it is not possible, for example, to have access to oneStory
only. - Number of roles will be low
- Roles other than general administrators are to be handled solely by assignment to the
Epic
object in a specific role. - A person may play several roles and they may differ between epics; for instance, they may be GM for story A & B, and player for stories C, D, and E, and an assistant for C. In such case, they will have specifics assigned to given epics. This makes being both a player and GM in one epic possible; while this makes little sense, there is no reason to block this, as someone might find it useful, and if not, it will not be used.
-
User
- the basic role that makes using the system possible. Generally, this will group all basic privileges for user that is logged in, and should be inherited by all remaining roles. -
Operator
- people with access to control panel -
Manager
- people with admin rights has rights to manage all users exceptManager
s andAdmin
s -
Admin
- person with admin rights has rights to manage bothManager
-type andUser
-type users; there will likely be only one admin
-
GM
- one or more for epic: technically, none is possible but makes no sense; those are people somehow connected to the epic, either assisting or co-GM-ing -
Player
- zero or more for epic: technically, some are necessary, but not in all phases of the epic - preparations can be done without players; once the epic has started, less than one should generate a warning; those are people playing in the epic -
Watcher
- zero or more for epic: they are not needed; those are people who do not GM nor play, but have right to view some of the epic data -
Assistant
- zero or more for epic; those are people who organise sessions and handle non-gaming correspondence; this role is included inGM
role