1
Let admins allow an API key to create fields on a specific object
Source: twentyhq/twenty#31810 · opened by @AlexyBouvet
We use a custom object called Allocations. Our team works with those records in a table. Most of the time, they fill in existing columns. Occasionally they need to add a column to track something new. In Twenty, adding that column means creating a field on the Allocations object
We tested an API key whose role could edit records with the Data Model permission turned off. The key successfully updated an existing record. When we used the same key to create a field on Allocations, the Metadata API returned PERMISSION_DENIED
Could admins grant a role the “Create fields” permission and choose which objects it applies to? In our case, we’d select Allocations only. Creating objects, changing existing field definitions or adding fields to Companies and People would still require separate permission
We tested an API key whose role could edit records with the Data Model permission turned off. The key successfully updated an existing record. When we used the same key to create a field on Allocations, the Metadata API returned PERMISSION_DENIED
Could admins grant a role the “Create fields” permission and choose which objects it applies to? In our case, we’d select Allocations only. Creating objects, changing existing field definitions or adding fields to Companies and People would still require separate permission
No pledges yet. Be the first to back this.
Comments
Similar requests
Data Model Object table: Fields count includes relations, which isn't immediately clear to users on the object detail page
0 votes · 0 comments
Object to Object Conversion (eg Lead to Opportunity)
1 vote · 0 comments
Extend the Role settings for objects with a flag "access to assigned objects
1 vote · 0 comments
Record creation form: use the same field order and groups as the record page by default
0 votes · 0 comments
Feature request: Allow admins to lock shared workspace views so users can filter temporarily without saving changes
2 votes · 0 comments
No comments yet.