mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix permission creation
This commit is contained in:
parent
171f37a589
commit
672eb6f512
1 changed files with 2 additions and 1 deletions
|
@ -271,7 +271,8 @@ def permission_create(operation_logger, permission, url=None, allowed=None, prot
|
|||
attr_dict = {
|
||||
'objectClass': ['top', 'permissionYnh', 'posixGroup'],
|
||||
'cn': str(permission),
|
||||
'gidNumber': gid
|
||||
'gidNumber': gid,
|
||||
'isProtected': 'FALSE' # Dummy value, it will be fixed when we call '_update_ldap_group_permission'
|
||||
}
|
||||
|
||||
if url:
|
||||
|
|
Loading…
Add table
Reference in a new issue