Skip to content

Conversation

@jbertram
Copy link
Contributor

This commit includes the following changes:

  • A few new testing & debugging helper methods.
  • Deprecated existing security-settings management methods
  • New security-settings management method accepting JSON input
  • Simplified RoleInfo by extending Role
  • Added constants for permission types & used them where possible
  • Clarified deprepcation for Role ctors
  • Added support methods for JSON conversion
  • Added tests for JSON conversion support methods, etc.

@jbertram
Copy link
Contributor Author

Full test-suite is green on this.

}

@Test
public void testArrayToString() {
Copy link
Contributor

Choose a reason for hiding this comment

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

What happens if the value passed isn't an JSON array? Should we test for that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

This commit includes the following changes:

 - A few new testing & debugging helper methods.
 - Deprecated existing security-settings management methods
 - New security-settings management method accepting JSON input
 - Simplified RoleInfo by extending Role
 - Added constants for permission types & used them where possible
 - Clarified deprepcation for Role ctors
 - Added support methods for JSON conversion
 - Added tests for JSON conversion support methods, etc.
@tabish121 tabish121 merged commit acf60a8 into apache:main Dec 15, 2025
6 checks passed
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.

2 participants