Skip to content

Commit

Permalink
minor refactor (backend): update permission from 'UPDATE_APPLICATION'…
Browse files Browse the repository at this point in the history
… to 'EDIT_APPLICATION'
  • Loading branch information
aybruhm committed Aug 26, 2024
1 parent 9d778f0 commit a7c52c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agenta-backend/agenta_backend/routers/app_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ async def update_app(
has_permission = await check_action_access(
user_uid=request.state.user_id,
object=app,
permission=Permission.UPDATE_APPLICATION,
permission=Permission.EDIT_APPLICATION,
)
logger.debug(f"User has Permission to update app: {has_permission}")
if not has_permission:
Expand Down

0 comments on commit a7c52c1

Please sign in to comment.