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