feat(realm): adiciona roles atm_admin e atm_cadastro (realm-as-code)

This commit is contained in:
ATM Platform
2026-06-16 23:14:26 +00:00
parent 37c9c468e8
commit f93b6733f8
3 changed files with 87 additions and 21 deletions
+29 -7
View File
@@ -5,11 +5,29 @@
"loginWithEmailAllowed": true,
"roles": {
"realm": [
{ "name": "admin" },
{ "name": "atm_athlete" },
{ "name": "atm_trainer" },
{ "name": "atm_team_admin" },
{ "name": "atm_fed_admin" }
{
"name": "admin"
},
{
"name": "atm_athlete"
},
{
"name": "atm_trainer"
},
{
"name": "atm_team_admin"
},
{
"name": "atm_fed_admin"
},
{
"name": "atm_admin",
"description": "Administrador do tenant (gestao geral)"
},
{
"name": "atm_cadastro",
"description": "Gestao de cadastros e catalogos"
}
]
},
"clients": [
@@ -21,8 +39,12 @@
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": false,
"redirectUris": ["https://acme.athleticmap.influxdigital.com.br/*"],
"webOrigins": ["https://acme.athleticmap.influxdigital.com.br"],
"redirectUris": [
"https://acme.athleticmap.influxdigital.com.br/*"
],
"webOrigins": [
"https://acme.athleticmap.influxdigital.com.br"
],
"attributes": {
"pkce.code.challenge.method": "S256",
"post.logout.redirect.uris": "https://acme.athleticmap.influxdigital.com.br/*"
+29 -7
View File
@@ -5,11 +5,29 @@
"loginWithEmailAllowed": true,
"roles": {
"realm": [
{ "name": "admin" },
{ "name": "atm_athlete" },
{ "name": "atm_trainer" },
{ "name": "atm_team_admin" },
{ "name": "atm_fed_admin" }
{
"name": "admin"
},
{
"name": "atm_athlete"
},
{
"name": "atm_trainer"
},
{
"name": "atm_team_admin"
},
{
"name": "atm_fed_admin"
},
{
"name": "atm_admin",
"description": "Administrador do tenant (gestao geral)"
},
{
"name": "atm_cadastro",
"description": "Gestao de cadastros e catalogos"
}
]
},
"clients": [
@@ -21,8 +39,12 @@
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": false,
"redirectUris": ["https://demo.athleticmap.influxdigital.com.br/*"],
"webOrigins": ["https://demo.athleticmap.influxdigital.com.br"],
"redirectUris": [
"https://demo.athleticmap.influxdigital.com.br/*"
],
"webOrigins": [
"https://demo.athleticmap.influxdigital.com.br"
],
"attributes": {
"pkce.code.challenge.method": "S256",
"post.logout.redirect.uris": "https://demo.athleticmap.influxdigital.com.br/*"
+29 -7
View File
@@ -5,11 +5,29 @@
"loginWithEmailAllowed": true,
"roles": {
"realm": [
{ "name": "admin" },
{ "name": "atm_athlete" },
{ "name": "atm_trainer" },
{ "name": "atm_team_admin" },
{ "name": "atm_fed_admin" }
{
"name": "admin"
},
{
"name": "atm_athlete"
},
{
"name": "atm_trainer"
},
{
"name": "atm_team_admin"
},
{
"name": "atm_fed_admin"
},
{
"name": "atm_admin",
"description": "Administrador do tenant (gestao geral)"
},
{
"name": "atm_cadastro",
"description": "Gestao de cadastros e catalogos"
}
]
},
"clients": [
@@ -21,8 +39,12 @@
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": false,
"redirectUris": ["https://piloto.athleticmap.influxdigital.com.br/*"],
"webOrigins": ["https://piloto.athleticmap.influxdigital.com.br"],
"redirectUris": [
"https://piloto.athleticmap.influxdigital.com.br/*"
],
"webOrigins": [
"https://piloto.athleticmap.influxdigital.com.br"
],
"attributes": {
"pkce.code.challenge.method": "S256",
"post.logout.redirect.uris": "https://piloto.athleticmap.influxdigital.com.br/*"