Compare commits

...

2 Commits

Author SHA1 Message Date
caab22d489 Fixed wrong typed Entity, URLAccess is what we need 2025-10-21 21:10:25 +02:00
4972989610 Added Role Entity 2025-10-21 21:04:37 +02:00
2 changed files with 14 additions and 0 deletions

7
identity/entity/role.go Normal file
View File

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

View File

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