12 lines
138 B
Plaintext
12 lines
138 B
Plaintext
|
package user.update
|
||
|
|
||
|
default allow := false
|
||
|
|
||
|
allow := true {
|
||
|
input.uuid == input.owner
|
||
|
}
|
||
|
|
||
|
allow := true {
|
||
|
input.role == "admin"
|
||
|
}
|