Skip to content

Comments

Enable groupOwner access to new field#9173

Draft
tanzeeladebont wants to merge 1 commit intogeonetwork:mainfrom
tanzeeladebont:main
Draft

Enable groupOwner access to new field#9173
tanzeeladebont wants to merge 1 commit intogeonetwork:mainfrom
tanzeeladebont:main

Conversation

@tanzeeladebont
Copy link

Enable groupOwner access to new field

Checklist

  • I have read the contribution guidelines
  • Pull request provided for main branch, backports managed with label
  • Good housekeeping of code, cleaning up comments, tests, and documentation
  • Clean commit history broken into understandable chucks, avoiding big commits with hundreds of files, cautious of reformatting and whitespace changes
  • Clean commit messages, longer verbose messages are encouraged
  • API Changes are identified in commit messages
  • Testing provided for features or enhancements using automatic tests
  • User documentation provided for new features or enhancements in manual
  • Build documentation provided for development instructions in README.md files
  • Library management using pom.xml dependency management. Update build documentation with intended library use and library tutorials or documentation

@josegar74 josegar74 self-requested a review February 17, 2026 13:11
@josegar74 josegar74 added this to the 4.4.10 milestone Feb 17, 2026
when(metadata.getDataInfo()).thenReturn(dataInfo);
when(metadata.getSourceInfo()).thenReturn(sourceInfo);
when(dataInfo.getSchemaId()).thenReturn("iso19139");
when(sourceInfo.getGroupOwner()).thenReturn(10);
Copy link
Member

Choose a reason for hiding this comment

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

I would define this value in a constant so it's more clear the usage below in Case 1: User IS in the owner group or update the comment // Case 1: User IS in the owner group to something like this // Case 1: User IS in the owner group (group identifier 10)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants