mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix label management
This commit is contained in:
parent
4933b23b5b
commit
8f61e493e4
1 changed files with 2 additions and 2 deletions
|
@ -290,8 +290,8 @@ def permission_create(operation_logger, permission, allowed=None,
|
|||
'cn': str(permission),
|
||||
'gidNumber': gid,
|
||||
'authHeader': ['TRUE'],
|
||||
'label': [permission.split('.')[0].title() if permission.endswith('.main')
|
||||
else "%s (%s)" % (permission.split('.')[0].title(), permission.split('.')[1])],
|
||||
'label': [str(permission.split('.')[0].title() if permission.endswith('.main')
|
||||
else "%s (%s)" % (permission.split('.')[0].title(), permission.split('.')[1]))],
|
||||
'showTile': ['FALSE'], # Dummy value, it will be fixed when we call '_update_ldap_group_permission'
|
||||
'isProtected': ['FALSE'] # Dummy value, it will be fixed when we call '_update_ldap_group_permission'
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue