Compare commits

..

1 Commits

Author SHA1 Message Date
c754f8b66b Added Role Entity 2025-10-21 21:01:22 +02:00
3 changed files with 3 additions and 17 deletions

View File

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

View File

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

View File

@@ -1,8 +0,0 @@
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:"service"`
}