You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/10/10 05:37:00 UTC
[jira] [Commented] (NIFI-6756) UI - Can not view User Policies for
users with permissions granted on a specific parameter context
[ https://issues.apache.org/jira/browse/NIFI-6756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948222#comment-16948222 ]
ASF subversion and git services commented on NIFI-6756:
-------------------------------------------------------
Commit 4e8dd6557faaa61981ff19cc1e841230afc65ffb in nifi's branch refs/heads/master from Matt Gilman
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4e8dd65 ]
NIFI-6756:
- Fixing issue opening a users policy listing when there is a policy for a specific parameter context.
This closes #3805.
Signed-off-by: Joe Witt <jo...@apache.org>
> UI - Can not view User Policies for users with permissions granted on a specific parameter context
> --------------------------------------------------------------------------------------------------
>
> Key: NIFI-6756
> URL: https://issues.apache.org/jira/browse/NIFI-6756
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 1.10.0
> Reporter: Rob Fellows
> Assignee: Matt Gilman
> Priority: Blocker
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> If a parameter context access policy is overridden from the global access policy and users are assigned permission to it, when attempting to view that user's User Policies nothing happens (actually and error is thrown in the js console).
>
> To Reproduce:
> # Create a new parameter context
> # Edit it's access policies and override the "view the component" policy
> # Assign a user to this policy
> # Close this dialog
> # Open the Users dialog from the hamburger menu
> # Try to "View user Policies" (key icon in the actions column) of that user you just granted permission to view that parameter context.
> # Notice nothing happens
> If you have the Dev Tools open, you will see an error:
> {noformat}
> Uncaught TypeError: Cannot read property '0' of undefined
> at Object.getPolicyTypeListing (nf-common.js?1.10.0-SNAPSHOT:1718)
> at globalResourceParser (VM312 nf-users-table.js:542)
> at formatPolicy (VM312 nf-users-table.js:987)
> at policyDisplayNameFormatter (VM312 nf-users-table.js:629)
> at appendCellHtml (slick.grid.js:1746)
> at appendRowHtml (slick.grid.js:1712)
> at renderRows (slick.grid.js:2273)
> at SlickGrid.render (slick.grid.js:2345)
> at DataView.<anonymous> (VM312 nf-users-table.js:769)
> at Event.notify (slick.core.js:146)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)