[jira] [Commented] (NIFIREG-75) Composite and CompositeConfigurable UserGroupProviders don't consider all providers when looking up users and groups

2017-12-21 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NIFIREG-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16300978#comment-16300978
 ] 

ASF GitHub Bot commented on NIFIREG-75:
---

Github user kevdoran commented on the issue:

https://github.com/apache/nifi-registry/pull/64
  
This has been updated with the latest approach


> Composite and CompositeConfigurable UserGroupProviders don't consider all 
> providers when looking up users and groups
> 
>
> Key: NIFIREG-75
> URL: https://issues.apache.org/jira/browse/NIFIREG-75
> Project: NiFi Registry
>  Issue Type: Bug
>Reporter: Kevin Doran
>Assignee: Kevin Doran
> Fix For: 0.0.1
>
>
> In FileUserGroupProvider, when a new group is created, all the users in the 
> group are checked to ensure they are known to the FileUserGroupProvider prior 
> to creating the group.
> This check should be removed, and an integrity check should be placed in the 
> entity managing all user group providers (eg, CompositeUserGroupProvider and 
> CompositeConfigurableUserGroupProvider).
> Also, when loading a user identity, all UserGroupProviders should be 
> considered for finding groups the user to which the user belongs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFIREG-75) Composite and CompositeConfigurable UserGroupProviders don't consider all providers when looking up users and groups

2017-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NIFIREG-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301488#comment-16301488
 ] 

ASF GitHub Bot commented on NIFIREG-75:
---

Github user bbende commented on the issue:

https://github.com/apache/nifi-registry/pull/64
  
Reviewing...


> Composite and CompositeConfigurable UserGroupProviders don't consider all 
> providers when looking up users and groups
> 
>
> Key: NIFIREG-75
> URL: https://issues.apache.org/jira/browse/NIFIREG-75
> Project: NiFi Registry
>  Issue Type: Bug
>Reporter: Kevin Doran
>Assignee: Kevin Doran
> Fix For: 0.0.1
>
>
> In FileUserGroupProvider, when a new group is created, all the users in the 
> group are checked to ensure they are known to the FileUserGroupProvider prior 
> to creating the group.
> This check should be removed, and an integrity check should be placed in the 
> entity managing all user group providers (eg, CompositeUserGroupProvider and 
> CompositeConfigurableUserGroupProvider).
> Also, when loading a user identity, all UserGroupProviders should be 
> considered for finding groups the user to which the user belongs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFIREG-75) Composite and CompositeConfigurable UserGroupProviders don't consider all providers when looking up users and groups

2017-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NIFIREG-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301794#comment-16301794
 ] 

ASF GitHub Bot commented on NIFIREG-75:
---

Github user bbende commented on the issue:

https://github.com/apache/nifi-registry/pull/64
  
+1 Ran through a full test with NiFi & Registry both configured with a 
composite user-group-provider, and put an LDAP user into a file-based group, 
and then made a bucket and gave the group access to that bucket, verified the 
LDAP user could use that bucket from NiFi... nice work


> Composite and CompositeConfigurable UserGroupProviders don't consider all 
> providers when looking up users and groups
> 
>
> Key: NIFIREG-75
> URL: https://issues.apache.org/jira/browse/NIFIREG-75
> Project: NiFi Registry
>  Issue Type: Bug
>Reporter: Kevin Doran
>Assignee: Kevin Doran
> Fix For: 0.0.1
>
>
> In FileUserGroupProvider, when a new group is created, all the users in the 
> group are checked to ensure they are known to the FileUserGroupProvider prior 
> to creating the group.
> This check should be removed, and an integrity check should be placed in the 
> entity managing all user group providers (eg, CompositeUserGroupProvider and 
> CompositeConfigurableUserGroupProvider).
> Also, when loading a user identity, all UserGroupProviders should be 
> considered for finding groups the user to which the user belongs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NIFIREG-75) Composite and CompositeConfigurable UserGroupProviders don't consider all providers when looking up users and groups

2017-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NIFIREG-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301798#comment-16301798
 ] 

ASF GitHub Bot commented on NIFIREG-75:
---

Github user asfgit closed the pull request at:

https://github.com/apache/nifi-registry/pull/64


> Composite and CompositeConfigurable UserGroupProviders don't consider all 
> providers when looking up users and groups
> 
>
> Key: NIFIREG-75
> URL: https://issues.apache.org/jira/browse/NIFIREG-75
> Project: NiFi Registry
>  Issue Type: Bug
>Reporter: Kevin Doran
>Assignee: Kevin Doran
> Fix For: 0.0.1
>
>
> In FileUserGroupProvider, when a new group is created, all the users in the 
> group are checked to ensure they are known to the FileUserGroupProvider prior 
> to creating the group.
> This check should be removed, and an integrity check should be placed in the 
> entity managing all user group providers (eg, CompositeUserGroupProvider and 
> CompositeConfigurableUserGroupProvider).
> Also, when loading a user identity, all UserGroupProviders should be 
> considered for finding groups the user to which the user belongs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)