User Error

when i was inviting the people to user the application. i set them to only โ€œcan view definitionโ€ but when the other users open the application.

they can edit and delete the information in the application while in the appsheet browser (admin) i already set them to โ€œcan view definitionโ€ only

0 10 186
10 REPLIES 10

Aurelien
Google Developer Expert
Google Developer Expert

Hi @hafiz_januiddi

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.

Updates rules
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:
3X_0_b_0b5a1c09194178bd342e3fd0879e3d5ade3efa67.png
With detailed expression:

Note:
You can see here that the expression used for switching update mode is USEREMAIL().
You can also switch it with USERROLE().
In that case, the expression would become (just an example):

SWITCH(USERROLE(), 
  "User", "UPDATES_ONLY",
  "ALL_CHANGES"
  )

Here are more informations:

Feel free to let us know if thatโ€™s the answer to your question

Sorry, it hard to explainโ€ฆ
when you want to share the app to another userโ€ฆ you are require to send a link to them.
when the user accept the link and their email are in the user tabs. which allow to access the application.

there are the setting in the users that have responded to the link in the user tabโ€ฆ
reminder, drop down list of โ€œcan use appโ€, โ€œcan view definitionโ€ and "can edit definitionโ€ฆ next is the roles โ€œuser & adminโ€ , App Version, and delete.

short summaryโ€ฆ
when my friend gain access to the shared app from the link i send to himโ€ฆ then i set his setting to โ€œcan view definitionโ€, Role user and App version Latestโ€ฆ

so that he canโ€™t edit anything in the application or add new things to itโ€ฆ but when he open application from the appsheetโ€ฆ he still can add and edit the content of the app (using mobile)โ€ฆ is there a solution or did i make a mistake on something

Iโ€™m not sure of understanding.
Are saying:

  1. Despite not being a co-author (your friendโ€™s permission is set to โ€œcan VIEW definitionโ€), your friend can edit the app definition, such as adding new view or data table ?

or

  1. You friend can change data informations, such as adding or removing rows, or update informations ?

I never set my friend as a co author

Just a regular share app (via email link)

Then below the authenication there are users
In there drop down list for can use app, view definition aand edit definition

I want them only to view the information on the app
And they cant edit or add new information on the application

Hi @hafiz_januiddi

Thanks for your answer.
Can you share screenshot of:

  • userโ€™s permissions ?
  • Table update permissions ?

Furthermore, please use the โ€œ@โ€ to identify myself, otherwise I donโ€™t see you are answering

Steve
Platinum 4
Platinum 4

This should not happen. Possible they copied the app and are editing the copy?

This would be helpful.

@Aurelien @Steve
3X_0_5_05f7fd55a1c54284e1dc351b4fc168272e77a9ad.jpeg
my friendโ€™s setting are this only can view definition and role is user


when he open the prototype application, he can add new information into the prototype.


as well he can edit or change the information that already within the application as even delete itโ€ฆ

but he canโ€™t do all of this when he is only can view definition right?

This has not impact, that what I told when I was talking about confusion

Letโ€™s use example.

  1. Can edit definition :
    You can EDIT the app definition

  2. Can view definition:
    You can VIEW the app definition, but not edit it.
    3X_9_9_99baa5b51e9524268668ca67f8d01ab51d7daed1.png

The important word is DEFINITION. These settings are about modifying how you build the app and how the users will see the app, not about how the users will add or delete entries.

About allowing users to edit or not, this is not where you can define this permission.

You have to go in the Data/Table panel, then in the Update mode of the table which you want to set the permissions.

Again, please have a look there:

Top Labels in this Space