16007: Add REVOKE_PERM and CAN_MANAGE_PERM constants
[arvados.git] / services / api / lib / update_permissions.rb
index 4d3986a4b70b75a693204252cd2587ce3ec46965..1d9c1006b88860b691bfe30d6cc5106d9ec2ef1a 100644 (file)
@@ -4,6 +4,9 @@
 
 require '20200501150153_permission_table_constants'
 
+REVOKE_PERM = 0
+CAN_MANAGE_PERM = 3
+
 def update_permissions perm_origin_uuid, starting_uuid, perm_level
   #
   # Update a subset of the permission table affected by adding or