allow review and approve

This commit is contained in:
Bilal
2020-07-07 17:19:04 +02:00
parent 19b1e75384
commit d70a19b7d5
11 changed files with 111 additions and 4 deletions

View File

@@ -15,6 +15,14 @@ class MedicalReleasePolicy < ReleasePolicy
user.manager? || user.account_manager?
end
def review?
user.account_manager?
end
def approve?
review?
end
def edit_photos?
true
end