[
https://issues.apache.org/jira/browse/ATLAS-3955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201415#comment-17201415
]
ASF subversion and git services commented on ATLAS-3955:
--------------------------------------------------------
Commit 598a726fab52caa886741c7153459975efa7068d in atlas's branch
refs/heads/branch-2.0 from Keval Bhatt
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=598a726 ]
ATLAS-3955: Read Type Auth, UI : detailsPage doesn't load for user who has read
permission for entity but no read auth for entity's type
(cherry picked from commit 23c33d14d0d8e11977c38377668030ae2bbe257b)
> 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
>
> Attachments: ATLAS-3955-1.patch, ATLAS-3955.patch
>
>
> -------------------------------------------------
> 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)