I am trying to apply security in Kylo, such as the feed and category created by one user if it is not visible to other users.
Is it possible in Kylo HDP Sandbox?
If yes, what changes do I need to make?
I am trying to apply security in Kylo, such as the feed and category created by one user if it is not visible to other users.
Is it possible in Kylo HDP Sandbox?
If yes, what changes do I need to make?
Copyright © 2021 Jogjafile Inc.
Yes, you can do this via Kylo's entity-level access control mechanism. Below is an illustration to enable entity access for categories in Kylo sandbox.
Step 1: Enable entity access control
Update
kylo-services/conf/application.propertiesStep 2: Define users
Create a file called
users.properties, populate it and give proper permissions. The structure of each entry isusername=password.Step 3: Define groups
Create a file called
groups.properties, populate it and give proper permissions. The structure of each entry isuser=group memberships.Step 4: Restart Kylo
Step 5: Log in as dladmin user (password: thinkbig)
Create a category (say
sample_category). Do not give any entity level permissions.Step 6: Log in as operator user (password: operator)
Look at the list of categories.
sample_categoryis not visible since no permissions were given by thedladminuser.Step 7: Log back in as dladmin user and give permissions
Give
Editorrole toOperationsgroup. Theoperatoruser is a member ofOperationsgroup.Step 8: Log back in as operator user
Look at the list of categories.
sample_categoryis now visible