Skip to content

Fix the regression in isSupperUser - #7241

Merged
jiazhai merged 1 commit into
apache:masterfrom
jiazhai:fix_author_regression
Jun 24, 2020
Merged

Fix the regression in isSupperUser#7241
jiazhai merged 1 commit into
apache:masterfrom
jiazhai:fix_author_regression

Conversation

@jiazhai

@jiazhai jiazhai commented Jun 11, 2020

Copy link
Copy Markdown
Member

Motivation

In #6708, we change to use isSuperUser(String, AuthenticationDataSource, ServiceConfiguration) for the dynamic check of superuser using AuthenticationDataSource. And #6428 is using old method isSuperUser(String, ServiceConfiguration),
This change tries to change it back.

Modifications

switch isSuperUser(String, ServiceConfiguration) to isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)

@jiazhai jiazhai self-assigned this Jun 11, 2020
@codelipenghui codelipenghui added this to the 2.7.0 milestone Jun 11, 2020
@sijie

sijie commented Jun 18, 2020

Copy link
Copy Markdown
Member

/pulsarbot run-failure-checks

@jiazhai
jiazhai merged commit 45afb56 into apache:master Jun 24, 2020
codelipenghui pushed a commit to streamnative/pulsar-archived that referenced this pull request Jul 14, 2020
### Motivation
In apache#6708, we change to use `isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)` for the dynamic check of superuser using AuthenticationDataSource. And apache#6428 is using old method  `isSuperUser(String, ServiceConfiguration)`,
This change tries to change it back.

### Modifications

switch `isSuperUser(String, ServiceConfiguration)` to `isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)`

(cherry picked from commit 45afb56)
cdbartholomew pushed a commit to kafkaesque-io/pulsar that referenced this pull request Jul 21, 2020
### Motivation
In apache#6708, we change to use `isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)` for the dynamic check of superuser using AuthenticationDataSource. And apache#6428 is using old method  `isSuperUser(String, ServiceConfiguration)`,
This change tries to change it back.

### Modifications

switch `isSuperUser(String, ServiceConfiguration)` to `isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)`
cdbartholomew pushed a commit to kafkaesque-io/pulsar that referenced this pull request Jul 24, 2020
### Motivation
In apache#6708, we change to use `isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)` for the dynamic check of superuser using AuthenticationDataSource. And apache#6428 is using old method  `isSuperUser(String, ServiceConfiguration)`,
This change tries to change it back.

### Modifications

switch `isSuperUser(String, ServiceConfiguration)` to `isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)`
wolfstudy pushed a commit that referenced this pull request Jul 29, 2020
### Motivation
In #6708, we change to use `isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)` for the dynamic check of superuser using AuthenticationDataSource. And #6428 is using old method  `isSuperUser(String, ServiceConfiguration)`,
This change tries to change it back.

### Modifications

switch `isSuperUser(String, ServiceConfiguration)` to `isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)`

(cherry picked from commit 45afb56)
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
### Motivation
In apache#6708, we change to use `isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)` for the dynamic check of superuser using AuthenticationDataSource. And apache#6428 is using old method  `isSuperUser(String, ServiceConfiguration)`,
This change tries to change it back.

### Modifications

switch `isSuperUser(String, ServiceConfiguration)` to `isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants