Lock fields/items in the object

Is there way to lock members from editing certain fields/items under an object?
12 Replies
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
No, role-based access will be done in the future
orangecode
orangecodeOP3mo ago
got it, is there way to lock editing for all members then? we are trying to protect the integrity of business data from accidental edits
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
AFAIK no
greg [iero]
greg [iero]3mo ago
Would love to get roles as well with readers and writers. You can use API to get data, compare with previous version and restore if changed. But it means some dev to do @bob I though you can setup an user with read only roles into DB?
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Directly in database? 🤔 Never tried that to be honest
greg [iero]
greg [iero]3mo ago
Me neither 😄
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
I'd have to take a look at database layout and find specific column, maybe I'll do it later today
greg [iero]
greg [iero]3mo ago
Not a priority for me, I would prefer to get the many-to-many relationship 😉
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
I checked and it's impossible to create a user with read-only access as there's no column responsible for this
No description
greg [iero]
greg [iero]3mo ago
I was thinking about a POSTGRES user. Ie remove writing rights to PG_DATABASE_USER=twenty
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Oooh 🤔
greg [iero]
greg [iero]3mo ago
so you have one user in one server to write (ie twenty) and another server with another user (twentyone) with only read access

Did you find this page helpful?