"Are updates allowed?"

I want to set permissions that are not in the default.

The default expression is:
SWITCH(USEREMAIL(),
โ€œuser1@mydomain.comโ€, โ€œUPDATES_ONLYโ€,
โ€œuser2@mydomain.comโ€, โ€œALL_CHANGESโ€,
โ€œREAD_ONLYโ€)

โ€œAdd and updateโ€
โ€œALL_CHANGESโ€ allows it to be deleted, so I donโ€™t want it to be deleted.

I'm sorry if it's hard to understand because I'm typing after translating Japanese.
Thank you for your support.

Solved Solved
0 3 101
1 ACCEPTED SOLUTION

The default expression is just an example you can build your own expression using any of the desired options. The available options are as below

"READ_ONLY", "UPDATES_ONLY", "ADDS_ONLY", "ADDS_AND_UPDATES", "DELETES_ONLY", "UPDATES_AND_DELETES", "ADDS_AND_DELETES", and "ALL_CHANGES"

So if you wish to disallow delete operations on the table,  you could use options such as "READ_ONLY", "UPDATES_ONLY", "ADDS_ONLY", "ADDS_AND_UPDATES"

So you could have an expression something like 

SWITCH(USEREMAIL(),
โ€œuser1@mydomain.comโ€, โ€œUPDATES_ONLYโ€,
โ€œuser2@mydomain.comโ€,"ADDS_AND_UPDATES",
โ€œREAD_ONLYโ€)

Again the above is an example. Please fine tune it based on your real requirements.

 

View solution in original post

3 REPLIES 3

The default expression is just an example you can build your own expression using any of the desired options. The available options are as below

"READ_ONLY", "UPDATES_ONLY", "ADDS_ONLY", "ADDS_AND_UPDATES", "DELETES_ONLY", "UPDATES_AND_DELETES", "ADDS_AND_DELETES", and "ALL_CHANGES"

So if you wish to disallow delete operations on the table,  you could use options such as "READ_ONLY", "UPDATES_ONLY", "ADDS_ONLY", "ADDS_AND_UPDATES"

So you could have an expression something like 

SWITCH(USEREMAIL(),
โ€œuser1@mydomain.comโ€, โ€œUPDATES_ONLYโ€,
โ€œuser2@mydomain.comโ€,"ADDS_AND_UPDATES",
โ€œREAD_ONLYโ€)

Again the above is an example. Please fine tune it based on your real requirements.

 

ใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ™ใ€‚

ๅคงๅค‰ๅŠฉใ‹ใ‚Šใพใ—ใŸใ€‚

 

ใฉใ†ใ„ใŸใ—ใพใ—ใฆ

Top Labels in this Space