2023-01-30 14:51:24 +00:00
|
|
|
package USER.UPDATE
|
2023-01-19 15:27:14 +00:00
|
|
|
|
|
|
|
default allow := false
|
|
|
|
|
2023-01-30 14:51:24 +00:00
|
|
|
allow {
|
|
|
|
input.uuid == input.owner
|
2023-01-19 15:27:14 +00:00
|
|
|
}
|
|
|
|
|
2023-01-30 14:51:24 +00:00
|
|
|
allow {
|
|
|
|
input.role == "admin"
|
2023-01-19 15:27:14 +00:00
|
|
|
}
|