Skip to content

Commit 6d05a26

Browse files
committed
Correcting the name of OrgLeaderOnly
1 parent a58ddcb commit 6d05a26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Calendar/Calendar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def user_can_see_event_details(event):
3333
if model.IsUserInRole("Admin"):
3434
return True
3535

36-
if not model.IsUserInRole("OrgLeaderOnly"):
36+
if not model.IsUserInRole("OrgLeadersOnly"):
3737
return True
3838

3939
if hasattr(event, 'IsMember') and event.IsMember:

0 commit comments

Comments
 (0)