[ 
https://issues.apache.org/jira/browse/NIFI-6756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Gilman updated NIFI-6756:
------------------------------
    Fix Version/s: 1.10.0

> 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
>
>
> 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)

Reply via email to