Fix in ausers
This commit is contained in:
parent
9a98c4623f
commit
a0d7a8a3e0
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ def user_options(url, id, arr_row):
|
|||
|
||||
options=[]
|
||||
options.append('<a href="'+add_get_parameters(url, op_admin=1, id=id)+'">'+_('Edit')+'</a>')
|
||||
if not arr_row['privileges']:
|
||||
if arr_row['privileges']==1:
|
||||
options.append(f'<a href="{app.get_url('admin_app.admin_permissions', user_id=id)}">'+_('User access')+'</a>')
|
||||
options.append('<a href="'+add_get_parameters(url, op_admin=3, id=id)+'">'+_('Delete')+'</a>')
|
||||
return options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue