-
Notifications
You must be signed in to change notification settings - Fork 66
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
feat(oh2-287): admin user group crud #637
base: develop
Are you sure you want to change the base?
feat(oh2-287): admin user group crud #637
Conversation
…rmatici#622) * tests:OH2-326 | Tests | Add cypress e2e tests to cover admin/diseases * chore:Improve cypress indexing
* fix:OH2-325 | design issues in wards admin * chore:fix design issues in admin components * fix:fix diseases types tests
…n/types/admissions) (informatici#627) * tests:Tests | Add cypress e2e tests to cover admission types (admin/types/admissions) * fix:check mode before setting it
…/discharges) (informatici#630) * Add cypress e2e tests to cover discharge types (admin/types/discharges) * Correction des reviews * File organisation
…edicals) (informatici#632) * Add cypress e2e tests to cover medical types (admin/types/medicals) * Correction de typo * Correction des attributs mal renseignes * Remane medical file * Files organisation
…e… (informatici#629) * Tests | Add cypress e2e tests to cover delivery types (admin/types/deliveries) * Ajout de la suppression * Review corrections * Files organisation
…formatici#623) * tests:OH2-326 | Tests | Add cypress e2e tests to cover admin/diseases * tests:OH2-328 | Tests | Add cypress e2e tests to cover admin/operations * chore:improve cypress indexing
…n/types/diseases) (informatici#628) * tests:OH2-355 | Tests / Add cypress e2e tests to cover diseases types (admin/types/diseases) * chore: code quality improvement
* feature(OH2-335): Manager enabled/disabled diseases * fix: Fix e2e tests * update: Update diseases e2e tests * fix: Fix disabled diseases e2e test * styles(ADMIN/Diseases): Update responsiveness --------- Co-authored-by: SteveGT96 <steve.tsala@intesys.it>
* feat(oh2-299): new user form * feat: use UserGroupDTO as the form type rule * feat: reset form * feat: add user to backend and redirect * feat: wait for the user to be saved before changing page * feat: add translations to validations * fix: customize username validation message * fix: validation strings & touched * feat: add success modal * fix: added user description * feat: confirm password * fix: error message + icon * fix: cancel instead of reset + error goes back to form
@mwithi This is using the soon-to-be-deprecated permission api. |
I think you can wait for the API and then adjust this PR, is it ok for you? Thanks! |
both merged! |
src/generated/runtime.ts
Outdated
export const BASE_PATH = "https://oh2.open-hospital.org".replace(/\/+$/, ""); | ||
export const BASE_PATH = 'http://localhost:8080'.replace(/\/+$/, ''); |
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.
This must remain unchanged @SilverD3 ?
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.
Yes. See this comment,
@gasp I shared a video on slack, showing the result on my machine.
PUT /users/groups/
// Request body
{
"code": "labo",
"desc": "Staff members working in the laboratory",
"permissions": [
{
"name": "string",
"id": 0,
"description": "string"
}
]
} |
See oh2-287.
create a new usergroup
edit a usergroup
manage usergroup permissions
delete a usergroup