Skip to content

Instantly share code, notes, and snippets.

@wkorando
Created December 30, 2019 17:06
Show Gist options
  • Save wkorando/f80e8db18e80c09b5f47d3e0d1ebcd0e to your computer and use it in GitHub Desktop.
Save wkorando/f80e8db18e80c09b5f47d3e0d1ebcd0e to your computer and use it in GitHub Desktop.
{
"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