-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OH2-255 Revise and align permissions for CORE, API and UI #411
OH2-255 Revise and align permissions for CORE, API and UI #411
Conversation
- remove duplicates - added missing - refactored some controllers and endpoints (resources in plurals) - made permission spelled like endpoint - sorted in alphabetical order, then CRUD - removed PATCH methods
and so remove discharges.* permissions, admission.* ones will be used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (to be honest I didn't review the oh.yaml
file very much).
OH2-255-revise-permissions-among-core-api-and-ui
@npasquetto after #415 we have to update also informatici/openhospital-ui#538 ? |
Yes, due to the naming refactoring, the SPA API client must be regenerated |
Ok, let me do that, thanks! |
@npasquetto done! please test with informatici/openhospital-ui#538 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did some tests and from my point of view it's ok.
I encountered some anomalies but they are not due to the changes in this PR.
* Permissions redefinition * Move /discharges to /admissions/discharges endpoint and so remove discharges.* permissions, admission.* ones will be used. * Change visits.access -> opds.access * Fix laboratories permissions Exam is the object ExamRow is the detail of the Exam object Laboratory is the activity (called also "exam") concerning one Exam object LaboratoryRow is the detail of a Laboratory activity Examination is another activity, done by the doctor, nothing to do with the Exam object or Laboratory activity * Aling with informatici/openhospital-api#411 * Replace with runtime.ts from develop * Fix pipeline
See OH2-255.
/discharges
to/admissions/discharges
endpoint and remove related permissions (admissions.*
ones will be used)