[docs] Organization docs for Access & Governance - #68
Draft
github-actions[bot] wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Deploying coredocs with
|
| Latest commit: |
0129afd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://253dda5b.coredocs.pages.dev |
| Branch Preview URL: | https://docs-organisations-governanc.coredocs.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ezhuthachan
Closes the request in #63 (
/document Access & Governance/Organisations Governance). Doc types were omitted, so all three layers were written for theorganizationprimitive in theaccess-governancedomain.Added
flows/access-governance/_category_.jsonflows/access-governance/create-an-organization.mdxflows/access-governance/add-a-user-to-an-organization.mdxflows/access-governance/change-a-user-role-in-an-organization.mdxFlow tasks were discovered from
care_fe, and are ordered the way a user meets them: create first, then membership, then role changes and removal. The flow sidebar is a manual list, so a new Access & Governance flow category was added to both sidebar files.Rewritten
concepts/access-governance/organization.mdx— replaced whole file. The old page used non-template headings ("What it represents", "Organization types", "How the tree works", "Membership, roles & responsibility", "Permissions") and printed raw code slugs such ascan_view_organization,org_type,team,govtandrolein a user-facing page. It now follows the concept template (Definition / Key Attributes / Status / Related), uses the labels a user sees, and links the FHIR Organization page without narrating the mapping. The permission table moved to the reference layer, where slugs belong.references/access-governance/organization.mdx— kept the model, spec and save-behaviour sections, which verify correctly against the source. Rewrote the intro to the reference form, removed the FHIR-alignment narration, and added a new## Viewsets & authorizationsection coveringOrganizationViewSet,OrganizationUsersViewSet, the per-action checks and the permission-to-role table.Versions
Authored in
version-3.0and mirrored byte-identical toversion-3.1, including the new_category_.json. Both sidebar files were updated.Traced to
care/emr/models/organization.pycare/emr/resources/organization/spec.py,organization_user_spec.pycare/emr/api/viewsets/organization.pycare/security/permissions/organization.py,care/security/authorization/organization.py,care/security/roles/role.pycare_fe/src/Routers/routes/OrganizationRoutes.tsx,adminRoutes.tsxcare_fe/src/components/ui/sidebar/admin-nav.tsxcare_fe/src/pages/Admin/organizations/(AdminOrganizationList,AdminOrganizationView,components/AdminOrganizationFormSheet)care_fe/src/pages/Organization/(OrganizationUsers,OrganizationLayout,components/AddUserSheet,LinkUserSheet,EditUserRoleSheet)care_fe/public/locale/en.jsonfor every user-visible labelLeft out
ORGANIZATION_MAX_DEPTHis not stated. The docs say only that a deployment sets a maximum depth.care_fe/src/config/keyboardShortcuts.jsondefines none for these actions.Validation
Corruption scan returns nothing.
npm run buildis[SUCCESS]for bothenandml, exit code 0.