[
https://issues.apache.org/jira/browse/ATLAS-3955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keval Bhatt updated ATLAS-3955:
-------------------------------
Description:
-------------------------------------------------
Simple scenario
-------------------------------------------------
1 . hive_table employee is created.
2. USER has permissions to read the employee table entity
3. USER doesn't have permissions to read type hive_table
4. USER logs into Atlas and searches for _ALL___ENTITY_TYPES , which lists the
hive_table entity "employee"
5. Clicking on it, UI throws following error in Console tab and UI keeps
loading.
{code:java}
DetailPageLayoutView.js?bust=1600212682027:109 Uncaught TypeError: Cannot read
property 'toJSON' of undefined
at N.d.<anonymous> (DetailPageLayoutView.js?bust=1600212682027:109)
at s (backbone-min.js?bust=1600212682027:1)
at r (backbone-min.js?bust=1600212682027:1)
at m (backbone-min.js?bust=1600212682027:1)
at N.d.k.trigger (backbone-min.js?bust=1600212682027:1)
at N.d.reset (backbone-min.js?bust=1600212682027:1)
at Object.<anonymous> (backbone.paginator.min.js?bust=1600212682027:1)
at s (backbone-min.js?bust=1600212682027:1)
at r (backbone-min.js?bust=1600212682027:1)
at m (backbone-min.js?bust=1600212682027:1) {code}
was:
-------------------------------------------------
Simple scenario
-------------------------------------------------
1 . hive_table employee is created.
2. USER has permissions to read the employee table entity
3. USER doesn't have permissions to read type hive_table
4. USER user logs into Atlas and searches for _ALL___ENTITY_TYPES , which lists
the hive_table entity "employee"
5. Clicking on it, UI throws following error in Console tab and UI keeps
loading.
{code:java}
DetailPageLayoutView.js?bust=1600212682027:109 Uncaught TypeError: Cannot read
property 'toJSON' of undefined
at N.d.<anonymous> (DetailPageLayoutView.js?bust=1600212682027:109)
at s (backbone-min.js?bust=1600212682027:1)
at r (backbone-min.js?bust=1600212682027:1)
at m (backbone-min.js?bust=1600212682027:1)
at N.d.k.trigger (backbone-min.js?bust=1600212682027:1)
at N.d.reset (backbone-min.js?bust=1600212682027:1)
at Object.<anonymous> (backbone.paginator.min.js?bust=1600212682027:1)
at s (backbone-min.js?bust=1600212682027:1)
at r (backbone-min.js?bust=1600212682027:1)
at m (backbone-min.js?bust=1600212682027:1) {code}
> Read Type Auth, UI : detailsPage doesn't load for user who has read
> permission for entity but no read auth for entity's type
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-3955
> URL: https://issues.apache.org/jira/browse/ATLAS-3955
> Project: Atlas
> Issue Type: Bug
> Reporter: Keval Bhatt
> Assignee: Keval Bhatt
> Priority: Major
> Fix For: 3.0.0
>
>
> -------------------------------------------------
> Simple scenario
> -------------------------------------------------
> 1 . hive_table employee is created.
> 2. USER has permissions to read the employee table entity
> 3. USER doesn't have permissions to read type hive_table
> 4. USER logs into Atlas and searches for _ALL___ENTITY_TYPES , which lists
> the hive_table entity "employee"
> 5. Clicking on it, UI throws following error in Console tab and UI keeps
> loading.
> {code:java}
> DetailPageLayoutView.js?bust=1600212682027:109 Uncaught TypeError: Cannot
> read property 'toJSON' of undefined
> at N.d.<anonymous> (DetailPageLayoutView.js?bust=1600212682027:109)
> at s (backbone-min.js?bust=1600212682027:1)
> at r (backbone-min.js?bust=1600212682027:1)
> at m (backbone-min.js?bust=1600212682027:1)
> at N.d.k.trigger (backbone-min.js?bust=1600212682027:1)
> at N.d.reset (backbone-min.js?bust=1600212682027:1)
> at Object.<anonymous> (backbone.paginator.min.js?bust=1600212682027:1)
> at s (backbone-min.js?bust=1600212682027:1)
> at r (backbone-min.js?bust=1600212682027:1)
> at m (backbone-min.js?bust=1600212682027:1) {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)