Skip to content

Commit

Permalink
revert: put back commented lines on admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Vergez committed Aug 9, 2023
1 parent d9fefdb commit 22f8f8c
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions backend/geonature/core/gn_permissions/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,16 +555,16 @@ def get_count_query(self):
)
)


admin.add_view(
ObjectAdmin(
PermObject,
db.session,
name="Objets",
category="Permissions",
endpoint="permissions/object",
)
)
# Retirer pour plus de lisibilité de l'interface des permissions
# admin.add_view(
# ObjectAdmin(
# PermObject,
# db.session,
# name="Objets",
# category="Permissions",
# endpoint="permissions/object",
# )
# )


admin.add_view(
Expand All @@ -577,13 +577,13 @@ def get_count_query(self):
)
)


admin.add_view(
PermissionAvailableAdmin(
PermissionAvailable,
db.session,
name="Permissions disponibles",
category="Permissions",
endpoint="permissions/availablepermission",
)
)
# Retirer pour plus de lisibilité de l'interface des permissions
# admin.add_view(
# PermissionAvailableAdmin(
# PermissionAvailable,
# db.session,
# name="Permissions disponibles",
# category="Permissions",
# endpoint="permissions/availablepermission",
# )
# )

0 comments on commit 22f8f8c

Please sign in to comment.