Closed aaboffill closed 7 years ago
@aaboffill I'm sorry, I forgot to tell you that we have been using "rules" for the permission control: see this change in PR #592.
Code references: https://github.com/savoirfairelinux/sous-chef/blob/dev/src/sous_chef/rules.py In template: https://github.com/savoirfairelinux/sous-chef/blob/dev/src/member/templates/client/list.html#L15 In view function: https://github.com/savoirfairelinux/sous-chef/blob/dev/src/member/views.py#L51
Apart from this, all seems good to me. Can you change ".is_staff" to "sous_chef.edit"?
@lingxiaoyang I added your suggestions using the defined rules.
Verified: vs
Fixes # by aaboffill
Changes proposed in this pull request:
Scheduled Status Change
to the admin users only.Status
How to verify this change
Schedule Status Change
won't be displayed.