Add new role Project Administrator

This commit is contained in:
Frederic Guillot
2015-08-14 15:43:08 -04:00
parent 80fb3bc9aa
commit b2cce5a3a1
49 changed files with 337 additions and 78 deletions

View File

@@ -2632,6 +2632,7 @@ Response example:
- **name** (string, optional)
- **email** (string, optional)
- **is_admin** Set the value 1 for admins or 0 for regular users (integer, optional)
- **is_project_admin** Set the value 1 for project admins or 0 for regular users (integer, optional)
- Result on success: **user_id**
- Result on failure: **false**
@@ -2666,6 +2667,7 @@ Response example:
- **username** (string, optional if email is set)
- **email** (string, optional if username is set)
- **is_admin** Set the value 1 for admins or 0 for regular users (integer, optional)
- **is_project_admin** Set the value 1 for project admins or 0 for regular users (integer, optional)
- Result on success: **user_id**
- Result on failure: **false**
@@ -2787,6 +2789,7 @@ Response example:
- **name** (string, optional)
- **email** (string, optional)
- **is_admin** (integer, optional)
- **is_project_admin** Set the value 1 for project admins or 0 for regular users (integer, optional)
- Result on success: **true**
- Result on failure: **false**

View File

@@ -4,7 +4,7 @@ Project permissions
A project can have two kinds of people: **project managers** and **project members**.
- Project managers can manage the configuration of the project and access to the reports.
- Project members are standard users, they have less privileges.
- Project members can only do basic operations (create or move tasks).
When you create a new project, you are automatically assigned as a project manager.

View File

@@ -1,22 +1,45 @@
User management
===============
Group of users
--------------
Roles at the application level
------------------------------
Kanboard use a basic permission system, there is two kind of users:
Kanboard use a basic permission system, there are 3 type of users:
- Administrators
- Standard users
### Administrators
Administrator have access to everything. By example, they can add or remove projects.
- Access to everything
There is also permissions defined at the project level, users can be seen as:
### Project Administrators
- Project member
- Project manager
- Can create multi-users and private projects
- Can convert multi-users and private projects
- Can see only their own projects
- Cannot change application settings
- Cannot manage users
Project managers have more privileges than a simple user member.
### Standard Users
- Can create only private projects
- Can see only their own projects
- Cannot remove projects
Roles at the project level
--------------------------
These role are related to the project permission.
### Project Managers
- Can manage only their own projects
- Can access to reports and budget section
### Project Members
- Can do any daily operations in their projects (create and move tasks...)
- Cannot configure projects
Note: Any "Standard User" can be promotted "Project Manager" for a given project, they don't necessary need to be "Project Administrator".
Local and remote users
----------------------