Give a user permission to create items:
const user = Context. data.__createdBy; const permissions = new Permissions([new PermissionValue( user, [PermissionType.CREATE])]); await Application. setPermissions(permissions);
Whether to inherit permissions from the parent directory.
List of granted permissions.
List of access permissions
Give a user permission to create items:
const user = Context. data.__createdBy; const permissions = new Permissions([new PermissionValue( user, [PermissionType.CREATE])]); await Application. setPermissions(permissions);