|
@@ -130,13 +130,12 @@ class UserRoleInWorkspace(DeclarativeBase):
|
130
|
130
|
CONTENT_MANAGER = 4
|
131
|
131
|
WORKSPACE_MANAGER = 8
|
132
|
132
|
|
133
|
|
- # TODO - G.M - 10-04-2018 - [Cleanup] Drop this
|
134
|
133
|
SLUG = {
|
135
|
|
- NOT_APPLICABLE: 'not_applicable',
|
|
134
|
+ NOT_APPLICABLE: 'not-applicable',
|
136
|
135
|
READER: 'reader',
|
137
|
136
|
CONTRIBUTOR: 'contributor',
|
138
|
|
- CONTENT_MANAGER: 'content_manager',
|
139
|
|
- WORKSPACE_MANAGER: 'workspace_manager',
|
|
137
|
+ CONTENT_MANAGER: 'content-manager',
|
|
138
|
+ WORKSPACE_MANAGER: 'workspace-manager',
|
140
|
139
|
}
|
141
|
140
|
|
142
|
141
|
LABEL = dict()
|
|
@@ -145,6 +144,7 @@ class UserRoleInWorkspace(DeclarativeBase):
|
145
|
144
|
LABEL[2] = l_('Contributor')
|
146
|
145
|
LABEL[4] = l_('Content Manager')
|
147
|
146
|
LABEL[8] = l_('Workspace Manager')
|
|
147
|
+ # TODO - G.M - 10-04-2018 - [Cleanup] Drop this
|
148
|
148
|
#
|
149
|
149
|
# STYLE = dict()
|
150
|
150
|
# STYLE[0] = ''
|