Skip to content

Declare Visit Summary privilege in config.xml#31

Open
BlessedAmrita wants to merge 1 commit into
openmrs:mainfrom
BlessedAmrita:priviledge-fix
Open

Declare Visit Summary privilege in config.xml#31
BlessedAmrita wants to merge 1 commit into
openmrs:mainfrom
BlessedAmrita:priviledge-fix

Conversation

@BlessedAmrita

Copy link
Copy Markdown
Contributor

Summary

Declares the App: Can generate a Visit Summary privilege in the module's config.xml so it is created at startup and can be granted to roles.

The privilege is already enforced in VisitSummaryPdfReport via Context.requirePrivilege(...), but it was never declared, so no privilege row existed. That made it un-grantable and left visit summary PDF generation effectively superuser-only. Copies the pattern of the existing sticker and encounter-forms privileges in the same file.

Related

Part of https://openmrs.atlassian.net/browse/O3-5667

@BlessedAmrita

Copy link
Copy Markdown
Contributor Author

cc: @wikumChamith

@sonarqubecloud

Copy link
Copy Markdown

@BlessedAmrita BlessedAmrita changed the title feat: declare Visit Summary privilege in config.xml Declare Visit Summary privilege in config.xml Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant