Skip to content

perms: UCBoulder/oit_dingo#1321 - #7

Merged
protitude merged 2 commits into
1.0.xfrom
t-1321
Jul 6, 2026
Merged

perms: UCBoulder/oit_dingo#1321#7
protitude merged 2 commits into
1.0.xfrom
t-1321

Conversation

@protitude

@protitude protitude commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Describe context / purpose for this PR

Add data permissions to data pages

Issue link

https://github.com/UCBoulder/oit_dingo/issues/1321

Any other related PRs?

Link to MultiDev instance

http://md-1321-ucbsub-oit.pantheonsite.io

Checklist for PR author

  • I have checked that the PR is ready to be merged
  • I have reviewed the DIFF and checked that the changes are as expected
  • I have assigned myself or someone else to review the PR

Add taxonomy terms to right sidebar on oda_pages node/add

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds editorial UI grouping so the “report access” taxonomy field appears under an Advanced details group when creating/editing ODA “data page” nodes, aligning it with the existing data report node form behavior.

Changes:

  • Add an “Access” details group on node_oda_page_* node forms under the Advanced vertical tab.
  • Assign field_oda_report_access to the new details group for better form organization.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread oda.module Outdated
Comment on lines +244 to +248
$form['oda_access_group'] = [
'#title' => t('Data Report Access Group'),
'#type' => 'details',
'#group' => 'advanced',
'#open' => 1,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in b268e12. I extracted the duplicated oda_access_group details array into _oda_access_group_details() and reused it in both form-id branches to keep them in sync.

@protitude
protitude merged commit dcc9750 into 1.0.x Jul 6, 2026
1 check passed
@protitude
protitude deleted the t-1321 branch July 6, 2026 21:30
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.

3 participants