Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"groups": [
{
"name": "my-org.cli.security",
"type": "org.my.developer.security.CommandLineSecurityConfigurer"
},
{
"name": "my-org.web.security",
"type": "org.my.developer.security.WebSecurityConfigurer"
}
],
"properties": [
{
"name": "my-org.cli.security.required-role",
"type": "java.lang.String",
"description": "The role a user must have to run the application."
}
],
"hints": [
{
"name": "my-org.cli.security.required-role",
"values": [
{
"value": "USER",
"description": "Standard user role, should only have access to READ functions."
},
{
"value": "ADMIN",
"description": "Administrative user role, should only have access to READ and WRITE functions."
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment