Skip to content

Commit

Permalink
fix: amend condition to list wiki in /apps
Browse files Browse the repository at this point in the history
  • Loading branch information
AyshaHakeem committed Dec 10, 2024
1 parent 0be0a26 commit 1343a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiki/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
def check_app_permission():
"""Check if user has permission to access the app (for showing the app on app screen)"""

if frappe.session.user != "Administrator":
if frappe.session.user == "Administrator":
return True

roles = frappe.get_roles()
Expand Down

0 comments on commit 1343a52

Please sign in to comment.