In the docs I read about label permissions but in the SDK I can only find these:
export class Role {
static any(): string;
static user(id: string, status?: string): string;
static users(status?: string): string;
static guests(): string;
static team(id: string, role?: string): string;
static member(id: string): string;
}
Am I missing something?
What version of the node SDK do you have?
Latest version (11.0.0). I looked more into the library and I can see that the role.js file does have label as a function but the index.d.ts file does not export it
Oooh yes that is a bug that was fixed recently but we still need to deploy it
Ah I see, thank you π
[SOLVED] No label permissions in Node.js SDK?
Recommended threads
- functions domain error
I cannot set up the domain for function Iβm trying to add the domain api.example.com I can only use Cloudflare as the DNS provider because my domain provider do...
- Storage Bucket Permissions
Hey folks, when enabling CRUD on the bucket level for the role any, should the bucket be accessible when using a session client?
- Python function - error while creating /...
I have been trying to figure it out myself for the last 2 days. I have self-hosted appwrite instance, and I am running python 3.12 function. It works great up t...