Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Democratizing Application Development with AppSheet

You're reading from  Democratizing Application Development with AppSheet

Product type Book
Published in Jan 2023
Publisher Packt
ISBN-13 9781803241173
Pages 396 pages
Edition 1st Edition
Languages
Authors (3):
Koichi Tsuji Koichi Tsuji
Profile icon Koichi Tsuji
Suvrutt Gurjar Suvrutt Gurjar
Profile icon Suvrutt Gurjar
Takuya Miyai Takuya Miyai
Profile icon Takuya Miyai
View More author details

Table of Contents (20) Chapters

Preface 1. Part 1 – Introduction and Getting Started
2. Chapter 1: Getting Started with AppSheet 3. Part 2 – App Editor and Main Features
4. Chapter 2: Understanding App Editor and Data Sources 5. Chapter 3: Presenting App Data with UX/Views 6. Chapter 4: Manipulating Data with Functions and Expressions 7. Chapter 5: Manipulating Data with Behaviors and Actions 8. Chapter 6: Controlling App Users and Data Security 9. Chapter 7: Managing the App Environment 10. Part 3 – Advanced Features and External Services
11. Chapter 8: Automating Recurring Data Changes and Scheduling Tasks 12. Chapter 9: Using Intelligence and Advanced Features 13. Chapter 10: Extending App Capabilities with Third-Party Services 14. Part 4 – App Templates and Tricks for App Building
15. Chapter 11: Building More Apps with App Templates 16. Chapter 12: Tips and Tricks 17. Chapter 13: Appendix 18. Index 19. Other Books You May Enjoy

Controlling permission levels with expressions

Regardless of the purpose of your business app, it is quite a common requirement to allocate different permission levels to every user one by one. For instance, say you are developing an app that all employees of the company will use, but you wish to control the editing permissions, in terms of who can edit what data. You might wish to let each user only edit the data associated with them, or grant full permission to admins to edit data. It purely depends on how you would like to control those permission levels.

AppSheet provides different approaches to achieving this goal, but let’s review the basic approach, using what we have learned in this book so far.

Using the userrole() expression to control permissions

Let’s assume the possible use case we discussed earlier. As we learned, an app role is assigned to each added user. AppSheet provides the userrole() expression to capture the value of this setting when the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}