Not sure of correctly understand your need. If I’m correct, I think you are confusing concepts
Can view definition
This is more likely “Can view app definition”, so they can see how it is set, tables, expressions, and so on, without being able to change it.
It’s exactly the same when you click on “Look under the hood” with the sample apps.
Depending on my understanding of what you describe, you want to control who can change your datas.
So, this can be done in the “Table” tab from Data Panel.
Here is an example, where you can pick alternatively “updates”, “adds”, “deletes”, “read-only”.
But, you can also decide to set some specific roles to specific rights on tables.
You can do so by clicking on this icon:
And use the default expression to adapt to your needs:
With detailed expression:
You can see here that the expression used for switching update mode is
You can also switch it with
In that case, the expression would become (just an example):
Here are more informations:
Feel free to let us know if that’s the answer to your question