Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User management does not work correctly. #3335

Open
cloudcheflabs opened this issue Aug 7, 2024 · 0 comments
Open

User management does not work correctly. #3335

cloudcheflabs opened this issue Aug 7, 2024 · 0 comments

Comments

@cloudcheflabs
Copy link

Hi,

I am using azkaban with the tag of 3.90.0.
It seems that user management does not work.

My user management configuration looks like this.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<azkaban-users>
    <role name="azkaban" permissions="READ"/>
    <role name="test" permissions="READ"/>
    <user password="1111" roles="azkaban" username="azkaban"/>
    <user password="xxxx" roles="test" username="test1"/>
</azkaban-users>

When I upload a project with azkaban cli with user of test1, uploading project has succeeded which should be failed, because the role of user test1 has just the permission of READ.

sudo su - azkabancli;
source venv/bin/activate;
azkaban upload \
-c \
-p load2 \
-u test1:xxxx@http://cp-1.chango.private:28081 \
/tmp/load.zip \
;

Project load2 successfully uploaded (id: 4, size: 608.0bytes, version: 1).

In addition, I as the user of test1 can execute the flow of the project load2 in azkaban ui, which is not allowed to execute the flow.

  • Kidong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant