Conditional Editability

Loving Fibery so far and very excited to transition my team over from Airtable. One thing I’m really struggling with though is how to control what users can and cannot edit, and when. I fully expected there would be some way to conditionally alter the editability of a field or collection on an entity view, either directly, or by conditionally showing and hiding elements as you can in Airtable. To find there isn’t is really confusing.

Through reading the docs, this forum and some conversations with Fibery, I’ve learnt the workarounds or alternatives but I still feel like I must be missing something.

Say I have a project manager create a quote (which is a hierarchy of quote, sections, line items) for a project in Fibery and send it to the client. Great, works well. Once sent that project manager still needs to view the sent quote but should not be able to edit it.

My options seem to be, validation rules, some extremely complicated swapping in an out of access permissions via automation, or custom app/entity view. I like the Fibery UI and really don’t want to go down the route of producing what would be dozens of custom interfaces. The other two options still show the user a UI that looks editable, even if it isn’t, which is really difficult and confusing for the vast majority of my users who are broadly non-technical - they need a very bottlenecked and guided experience.

Is there really no way to make the quote, look and behave as read only in the Fibery UI? It doesn’t have to be locked down from every angle, there’s no chance they’re going to making changes over API.

To me, this makes it feel like Fibery is an operating system for orgs staffed entirely by nerds, not just run by them.

Fibery doesn’t have field-level access control, but if you just want to make an entity read-only, and you don’t need it to be ‘bulletproof’, you can consider using locking.

Thanks, but this kind of misses the point I was trying to make. As far as I can see there’s no way to automate locking, and if there was, it would be all or nothing, right? There are countless cases where parts of an entity still need to be edited when other parts absolutely should not be, for example a bill awaiting approval - a user needs to approve it but should not be able to change the amount.

Automate locking? No
Automate access control? Yes, but it’s not an out-of-the-box function. It needn’t be as complex as you might fear though. If you wanna hop on a help call, and I can walk you through it, just reach out in chat

If the ‘parts’ are related entities, then it needn’t be too complicated.
If you’re hoping to lock/hide specific primitive fields, and not others, then it’s not possible, and you’ll need to split the db.
Lock Entities, Documents, and Views

Why not use the validation rule? You mentioned it as an option (solution?), but didn’t mention why you’re not using it.

I assume there is a status field which changes when the quote is sent:
Run rule when Quote is updated; select all fields which should not be changed once the quote is sent.
Example validation formula: Step 1 Quote.Status.Name = “Sent”

“Quote details cannot be changed once it’s sent. Change status if …”

Would love to jump on a call, thanks. To be clear, I’m assuming I’m missing something here. This feels so fundamental that I must just not be seeing the model clearly. Will get on the chat.

I will be using the validation rule for some things but it doesn’t feel complete for two reasons:

  1. There’s a limit of 100 rules per workspace. I’m planning to port an Airtable workspace of 165 tables (databases) spread across 11 bases (spaces). It’s feasible that I would hit that limit before complete migration. If I can get in under the limit, I think it would require generalising to the point that the toast message would be too vague or unhelpful - “can’t change anything on this for a few reasons”
  2. The user experience is not ideal for someone busy / on the go / not super comfortable using a computer. It relies on them noticing the toast to realise that the change they think they’ve made has not gone through. You’d be shocked at how many people have their browser window overflowing their screen so wouldn’t even be able to see it. Someone thinking they’ve done something that they haven’t is not going to be acceptable in a lot of cases.
  1. First time I’m hearing this, and it doesn’t mention it in the settings nor on the pricing page. @Chr1sG Or anyone else, could you please confirm this is a real limit, and what exactly does this mean? That there can only be a sum 100 Buttons, automations & validation rules active at any given time?
  2. Fair, I know how some non-technical users can operate – although I would expect users to “learn” the aspect of not being able to edit an already sent quote :sweat_smile: Nevertheless I hope you will find a suitable solution!

I would go with this approach:

Based on certain user relations, automatically grant access templates. You can have a different access template be granted per user relation, then move the users through different relations based on the permissions they need at that moment.

For something like “Should be able to read and approve” you can have the approval be a different entity a user creates which is linked to this one which they can only read. Upon creating that “Approval” entity, there is a formula on the original entity which sees the newly created entity and sets it to approved.

I’ve been able to create super complex permissions in Fibery, but it can take a few tries until it really clicks.

  1. Max 100 rules per workspace from the docs. Not summed with buttons and automations from what I can see.
  2. It’s one of many many rules to learn if that’s the approach. We’re a construction company and the users are mostly using the systems to track the real-world building of our actual product - they are not hired on their ability to adhere to a software system. It needs to get out of their way as much as possible.

I can imagine that working in principle, but in practice, does the UI update to reflect those changes when the state changes? Say clicking the button to send a quote, changes the state of the quote and therefore the user’s permissions - is the editability change reflected in the UI before the entity is closed an reopened? It doesn’t look like it to me?

You’re right that it does not automatically reflect in the UI.

Related bug: Rich text fields on stale pages ignore permissions

Right, yeah that’s a non-starter then, thanks.