diff options
author | Vlad Uspensky <v.uspenskiy@icloud.com> | 2017-07-27 09:22:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-27 09:22:50 -0700 |
commit | e120d1b2ffbf42b5b809b69a2201b3b8dd1a1ef9 (patch) | |
tree | 8d782fdb79c56615dcaf052e7a4bd0cfd7f4d5ef /src/main/scala/xyz/driver/pdsuicommon/acl/ACL.scala | |
parent | 56209581161e4cc2f83f85b52bd573dd25bb7201 (diff) | |
parent | 4c7b4102dede53b9707fe3758a4a9ff9ccf87bf8 (diff) | |
download | rest-query-e120d1b2ffbf42b5b809b69a2201b3b8dd1a1ef9.tar.gz rest-query-e120d1b2ffbf42b5b809b69a2201b3b8dd1a1ef9.tar.bz2 rest-query-e120d1b2ffbf42b5b809b69a2201b3b8dd1a1ef9.zip |
Merge pull request #10 from drivergroup/PDSUI-2145v0.2.7
PDSUI-2145 Create own user history for Documents and Medical Records
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuicommon/acl/ACL.scala')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuicommon/acl/ACL.scala | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/main/scala/xyz/driver/pdsuicommon/acl/ACL.scala b/src/main/scala/xyz/driver/pdsuicommon/acl/ACL.scala index 48a86e3..e13b45f 100644 --- a/src/main/scala/xyz/driver/pdsuicommon/acl/ACL.scala +++ b/src/main/scala/xyz/driver/pdsuicommon/acl/ACL.scala @@ -22,7 +22,7 @@ object ACL extends PhiLogging { object UserHistory extends BaseACL( label = "user history", - read = Set(RecordAdmin, TreatmentMatchingAdmin) + read = Set(TreatmentMatchingAdmin) ) object Queue @@ -42,6 +42,12 @@ object ACL extends PhiLogging { update = RepRoles - DocumentExtractor ) + object MedicalRecordHistory + extends BaseACL( + label = "medical record history", + read = Set(RecordAdmin) + ) + object Document extends BaseACL( label = "document", @@ -51,6 +57,12 @@ object ACL extends PhiLogging { delete = Set(RecordOrganizer, RecordAdmin) ) + object DocumentHistory + extends BaseACL( + label = "document history", + read = Set(RecordAdmin) + ) + object ExtractedData extends BaseACL( label = "extracted data", |