CVAT 3
Wed Aug 10 2022 17:41:20 GMT+0000 (Coordinated Universal Time)
Saved by
@opencv
package users
import future.keywords.in
default allow = false
allow {
input.auth.privilege == "admin"
}
allow {
input.scope == "list"
}
allow {
input.scope in { "update", "delete", "view" }
input.resource.id == input.auth.user.id
}
content_copyCOPY
Comments