0
Let an application update shares on records of objects it owns
Source: twentyhq/twenty#30025 · opened by @admin-laicadev
Scope & Context We build a self-hosted app (twenty-sdk) with a custom object concern (German: «Anliegen»): short notes about a company or a person. A concern can be private. A private concern should be readable by its creator and by the workspace member responsible for the linked company (company.accountOwner) or person (a custom owner relation to workspaceMember). When the responsible member changes, access should follow. Row-level permissions through a relation (#29953) and related record paths (#29328) would express this rule directly, but both need the Organization plan. Record sharing is available, so we would like to keep the shares current from a logic function that reacts to company.updated / person.updated. Current behavior On main (bae69f013e), an application can grant access only when it creates a record, through shareWith (#25428). After that, setRecordShare and setRecordPrivate accept an application token only with a user: A logic function started by a database…
No pledges yet. Be the first to back this.
Comments
Similar requests
Custom images/avatars for People records and custom objects
1 vote · 0 comments
Extend the Role settings for objects with a flag "access to assigned objects
1 vote · 0 comments
Missing Sorting Functionality for Related Records in Object Relations
6 votes · 0 comments
Quick Access to Deleted Records from the View Header
2 votes · 0 comments
Feature request: configurable keyboard shortcuts for custom objects
1 vote · 0 comments
No comments yet.