Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Democratizing Application Development with AppSheet

You're reading from   Democratizing Application Development with AppSheet A citizen developer's guide to building rapid low-code apps with the powerful features of AppSheet

Arrow left icon
Product type Paperback
Published in Jan 2023
Publisher Packt
ISBN-13 9781803241173
Length 396 pages
Edition 1st Edition
Arrow right icon
Authors (3):
Arrow left icon
Suvrutt Gurjar Suvrutt Gurjar
Author Profile Icon Suvrutt Gurjar
Suvrutt Gurjar
Koichi Tsuji Koichi Tsuji
Author Profile Icon Koichi Tsuji
Koichi Tsuji
Takuya Miyai Takuya Miyai
Author Profile Icon Takuya Miyai
Takuya Miyai
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part 1 – Introduction and Getting Started FREE CHAPTER
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 $19.99/month. Cancel anytime
Banner background image