git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reviewing the tags permission system
[plcapi.git]
/
PLC
/
Roles.py
diff --git
a/PLC/Roles.py
b/PLC/Roles.py
index
03d9884
..
4aa4d6b
100644
(file)
--- a/
PLC/Roles.py
+++ b/
PLC/Roles.py
@@
-22,7
+22,7
@@
class Role(Row):
table_name = 'roles'
primary_key = 'role_id'
table_name = 'roles'
primary_key = 'role_id'
- join_tables = ['person_role',
('tag_types', 'min_role_id')
]
+ join_tables = ['person_role',
'tag_type_role'
]
fields = {
'role_id': Parameter(int, "Role identifier"),
'name': Parameter(str, "Role", max = 100),
fields = {
'role_id': Parameter(int, "Role identifier"),
'name': Parameter(str, "Role", max = 100),