change get to any privilege in new auth model

Description

Since UI queries for app detail and program spec, currently if user does not have READ/ADMIN privilege on app/programs, he will not be able to see the app/programs page. It is better we change the auth check to any privilege on the entity to provide a better user experience. This includes changing the get for artifact/app/program/stream/dataset

Release Notes

None

Activity

Show:

Yaojie Feng August 25, 2017 at 7:38 AM

Yaojie Feng August 25, 2017 at 5:48 AM
Edited

In addition, if someone has privilege on the program but not the app, he will not be able to see the programs if he click on the app. So we will change the policy of getting app detail to visibility on the app.

The app detail will be fixed in https://cdap.atlassian.net/browse/CDAP-12482#icft=CDAP-12482 to filter only visible entities.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Created August 25, 2017 at 5:39 AM
Updated August 25, 2017 at 7:38 AM
Resolved August 25, 2017 at 7:38 AM