Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| acd224124e | |||
| 0da1747d35 | |||
| 4972989610 |
7
identity/entity/role.go
Normal file
7
identity/entity/role.go
Normal 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"`
|
||||||
|
}
|
||||||
8
identity/entity/url_access.go
Normal file
8
identity/entity/url_access.go
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
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"`
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user