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
Apache Superset Quick Start Guide

You're reading from   Apache Superset Quick Start Guide Develop interactive visualizations by creating user-friendly dashboards

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher
ISBN-13 9781788992244
Length 188 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Shashank Shekhar Shashank Shekhar
Author Profile Icon Shashank Shekhar
Shashank Shekhar
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Getting Started with Data Exploration 2. Configuring Superset and Using SQL Lab FREE CHAPTER 3. User Authentication and Permissions 4. Visualizing Data in a Column 5. Comparing Feature Values 6. Drawing Connections between Entity Columns 7. Mapping Data That Has Location Information 8. Building Dashboards 9. Other Books You May Enjoy

Alpha and gamma – building blocks for custom roles

We will manage user permissions using alpha, gamma, and customized roles. In superset_config.py, only one email ID should be whitelisted for registration. We will need more Google accounts to register for testing different permissions. You can put in any regex pattern in the whitelist field. Suffixes such as @amino.com are commonly used to allow users from a specific email domain to register on the web app. If a Google account email address matches the pattern specified in whitelist, it will be able to register itself.

We will modify superset_config.py so that a Google account with any email can register. Moving forward, new users will be assigned a Gamma role with no default permissions on any data source. In order to do that, we will modify two lines in the file:

# Modification 1
# Assigns Gamma role for new registered...
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