| 1 |
This documents aims at describing what I plan for Typo to go multiusers |
|---|
| 2 |
|
|---|
| 3 |
A profile : |
|---|
| 4 |
has many right |
|---|
| 5 |
|
|---|
| 6 |
A user : |
|---|
| 7 |
has one profile |
|---|
| 8 |
has many rights |
|---|
| 9 |
|
|---|
| 10 |
When a user is created, he's given a profile. His profile is marked as "clean" |
|---|
| 11 |
The administrator can assign specific rights to that user. His profile is marked as "tainted" |
|---|
| 12 |
When a profile is modified, changes are made on users who have a "clean" profile. |
|---|
| 13 |
|
|---|
| 14 |
Here are the profiles and rights : |
|---|
| 15 |
|
|---|
| 16 |
Administrator |
|---|
| 17 |
- admin the blog |
|---|
| 18 |
- create, edit, delete users |
|---|
| 19 |
- create, edit, delete roles |
|---|
| 20 |
- write, edit, publish, unpublish, delete drafts |
|---|
| 21 |
- write, edit, publish, unpublish, delete posts |
|---|
| 22 |
- write comments |
|---|
| 23 |
- edit / delete his own comments |
|---|
| 24 |
- edit / delete other people's comments |
|---|
| 25 |
- moderate comments marked as spam |
|---|
| 26 |
|
|---|
| 27 |
Publisher |
|---|
| 28 |
- write, edit, publish, unpublish, delete drafts |
|---|
| 29 |
- write, edit, publish, unpublish, delete posts |
|---|
| 30 |
- write comments |
|---|
| 31 |
- edit / delete his own comments |
|---|
| 32 |
- moderate comments marked as spam |
|---|
| 33 |
|
|---|
| 34 |
Writer |
|---|
| 35 |
- write, edit, publish, unpublish, delete drafts |
|---|
| 36 |
- write comments |
|---|
| 37 |
|
|---|
| 38 |
Moderator |
|---|
| 39 |
- write comments |
|---|
| 40 |
- edit / delete his own comments |
|---|
| 41 |
- edit / delete other people's comments |
|---|
| 42 |
- moderate comments marked as spam |
|---|
| 43 |
|
|---|
| 44 |
Subscriber |
|---|
| 45 |
- write comments |
|---|