Skip to content

fix(policy): harden authorization for plan resources - #3613

Merged
aaronskiba merged 3 commits into
mainfrom
aaron/fix/contributors-policy
Sep 9, 2026
Merged

fix(policy): harden authorization for plan resources#3613
aaronskiba merged 3 commits into
mainfrom
aaron/fix/contributors-policy

Conversation

@aaronskiba

Copy link
Copy Markdown
Contributor

Changes proposed in this PR:

Harden Pundit policies for contributor and research output endpoints to enforce the expected access controls.

Reference:

CDLUC3#803

  • NOTE: The referenced PR also fixes app/controllers/paginable/research_outputs_controller.rb. However, that file does not exist within this codebase.

@aaronskiba
aaronskiba force-pushed the aaron/fix/contributors-policy branch from 3326c79 to 93e04bb Compare September 9, 2026 17:06
jupiter007 and others added 3 commits September 9, 2026 11:26
Harden Pundit policies for contributor and research output endpoints to enforce the expected access controls.
Reference: CDLUC3#803
- NOTE: The referenced PR also fixes app/controllers/paginable/research_outputs_controller.rb. However, that file does not exist within this codebase.

Co-Authored-By: Juliet Shin <8452761+jupiter007@users.noreply.github.com>
Add specs for the contributors index and new endpoints to ensure unauthorized plans are denied access.
@aaronskiba
aaronskiba force-pushed the aaron/fix/contributors-policy branch from 93e04bb to 5504508 Compare September 9, 2026 17:28
@aaronskiba
aaronskiba merged commit f9fee4a into main Sep 9, 2026
9 of 18 checks passed
@aaronskiba
aaronskiba deleted the aaron/fix/contributors-policy branch September 9, 2026 18:22
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.

4 participants