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