Skip to content

Commit cdc0f89

Browse files
committedSep 29, 2014
Add dependency on project_stage_state and fix description.
1 parent ebf65e9 commit cdc0f89

File tree

2 files changed

+56
-59
lines changed

2 files changed

+56
-59
lines changed
 

‎project_baseuser/README.md

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
Employees are now basic Project users, able to create new documents (Issues
2+
or Tasks). These are kept editable while in New and Cancelled states, to
3+
allow for corrections or for the user himself to cancel an incorrectly
4+
created request.
5+
Previously, Employee users did not have any write nor create access to project
6+
documents.
7+
8+
Project Users, on the other hand, are supposed to act on these documents,
9+
such as reported issues, and update them accordingly, so they have write
10+
access for all states. Employee users don't have write access on later states,
11+
but can still write comments and communicate through the message board (open
12+
chatter).
13+
14+
In general, users will only be able to see documents where:
15+
16+
* They are assigned/responsible for, or
17+
* They are following, or
18+
* They are a team member for the corresponding Project (but not if only in
19+
the project's follower list).
20+
21+
22+
Project Managers have access rules similar to Project Users, but additionally
23+
can create new projects and can see all documents for the projects they are
24+
the Manager.
25+
As a consequence, Project Managers no longer have inconditional access to all
26+
Tasks and Issues, and will only be able to edit the definitions of Projects
27+
they manage.
28+
29+
This makes it possible for a Project Manager to have private projects that
30+
other users, Project Managers included, will not be able to see. They will
31+
need to be added as followers or team members to able to see it.
32+
33+
Public Projects and their documents are still visible to everyone.
34+
Portal users access rules are kept unchanged.
35+
36+
37+
---------------------
38+
Access Rules summary:
39+
---------------------
40+
41+
Employee Users
42+
Can see only documents followed or responebile for (in "user_id").
43+
Can create new documents and edit them while in "New"/"Cancelled" states.
44+
45+
Project Users
46+
Can edit Project Issues and Tasks in any stage/state.
47+
Can see all documents for projects they are followers on team memebers.
48+
Can see only documents followed or assigned to for other projects.
49+
50+
Project Managers
51+
Can create new projects and edit their attributes.
52+
Can see all documents (Tasks or Issues) but only for their managed
53+
projects.
54+
For the other Projects, will see only followed documents, just like the
55+
other users.

‎project_baseuser/__openerp__.py

+1-59
Original file line numberDiff line numberDiff line change
@@ -23,67 +23,9 @@
2323
'version': '1.0',
2424
'category': 'Project Management',
2525
'summary': 'Extend Project user roles to support more complex use cases',
26-
'description': """\
27-
Employees are now basic Project users, able to create new documents (Issues
28-
or Tasks). These are kept editable while in New and Cancelled states, to
29-
allow for corrections or for the user himself to cancel an incorretly
30-
created request.
31-
Previously, Employee users did not have any write nor craete access to project
32-
documents.
33-
34-
Project Users, on the other hand, are supposed to act on these documents,
35-
sucha as reported issues, and update them accordingly, so they have write
36-
access for all states. Employee users don't have write access on later states,
37-
but can still write comments and communicate through the message board (open
38-
chatter).
39-
40-
In general, users will only be able to see documents where:
41-
42-
* They are assigned/responsible for, or
43-
* They are following, or
44-
* They are a team member for the corresponding Project (but not if only in
45-
the project's follower list).
46-
47-
48-
Project Managers have access rules similar to Project Users, but additionally
49-
can create new projects and can see all documents for the projects they are
50-
the Manager.
51-
As a consequence, Project Managers no longer have inconditional access to all
52-
Tasks and Issues, and will only be able to edit the definitions of Projects
53-
they manage.
54-
55-
This makes it possible for a Project Manager to have private projects that
56-
other users, Project Managers inlcuded, will not be able to see. They will
57-
need to be added as followers or team members to able to see it.
58-
59-
Public Projects and their documents are still visible to everyone.
60-
Portal users access rules are kept unchanged.
61-
62-
63-
---------------------
64-
Access Rules summary:
65-
---------------------
66-
67-
Employee Users
68-
Can see only documents followed or responebile for (in "user_id").
69-
Can create new documents and edit them while in "New"/"Cancelled" states.
70-
71-
Project Users
72-
Can edit Project Issues and Tasks in any stage/state.
73-
Can see all documents for projects they are followers on team memebers.
74-
Can see only documents followed or assigned to for other projects.
75-
76-
Project Managers
77-
Can create new projects and edit their attributes.
78-
Can see all documents (Tasks or Issues) but only for their managed
79-
projects.
80-
For the other Projects, will see only followed documents, just like the
81-
other users.
82-
83-
""",
8426
'author': 'Daniel Reis',
8527
'depends': [
86-
'project',
28+
'project_stage_state',
8729
],
8830
'data': [
8931
'project_view.xml',

0 commit comments

Comments
 (0)
Please sign in to comment.