I tried to store a row with this permissions:
permissions.push(
Permission.read(Role.users("verified")),
Permission.write(Role.label(c-${calendarSlug}.admin)),
Permission.update(Role.label(c-${calendarSlug}.editor)),
Permission.write(Role.user(user.$id)),
but i get this error:
'{"message":"Permissions must be one of: (roles and labels of my project) ","code":401,"type":"user_unauthorized","version":"1.8.0"}'
so i mean i cant set row level permissions before i created them, i think i trying to set dinamyc permissions but idk if that works
there is another way that can work something like this?
Recommended threads
- Rate limit
How do I solve "Signup Failed, Rate limit for the current endpoint has been exceeded. Please try again after some time"? I have Pro and around 2k requests per ...
- Type 'Theme' does not satisfy the constr...
Type 'Theme' does not satisfy the constraint 'Row'. Type 'Theme' is missing the following properties from type 'Row': $id, $sequence, $tableId, $databaseId, a...
- Dev Keys not working
looks like dev key are broken they simply don't work i suggest remove them until you have them working otherwise they confuse devs took me few minutes trying ...