Compare commits

..

1 Commits

Author SHA1 Message Date
caab22d489 Fixed wrong typed Entity, URLAccess is what we need 2025-10-21 21:10:25 +02:00
3 changed files with 6 additions and 13 deletions

View File

@@ -1,5 +0,0 @@
package identity
type AuthorizationHeaderDTO struct {
Authorization string `reqHeader:"authorization"`
}

View File

@@ -1,8 +1,7 @@
package identity
type Role struct {
ID string `db:"id" json:"id"`
Name string `db:"name" json:"name"`
DisplayName string `db:"display_name" json:"display_name"`
URL string `db:"url" json:"url"`
ID string `db:"id" json:"id"`
Roles []byte `db:"roles" json:"roles"`
URL string `db:"url" json:"url"`
}

View File

@@ -1,8 +1,7 @@
package identity
type URLAccess struct {
ID string `db:"id" json:"id"`
Roles []string `db:"roles" json:"roles"`
URL string `db:"url" json:"url"`
Service string `db:"service" json:"serice"`
ID string `db:"id" json:"id"`
Roles []byte `db:"roles" json:"roles"`
URL string `db:"url" json:"url"`
}