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

I hope that the granularity of control permissions is group and dataid, but I cannot control group permissions individually. #3669

Closed
syapollo opened this issue Aug 24, 2020 · 4 comments
Labels
status/invalid This doesn't seem right

Comments

@syapollo
Copy link
Contributor

I hope that the granularity of control permissions is group and dataid, but I cannot control group permissions individually.

Describe the bug
I hope that the granularity of control permissions is group and dataid, but I cannot Authentication group permissions individually.
I found that there is a problem with the ResourceParser implementation class. After I modify it and add database data, I can Authentication the group normally. I hope I can submit code to fix this bug.

Expected behavior
I configure a request with group like this
nacos:
discovery:
register-enabled: true
server-addr: 127.0.0.1:8848
namespace: dev
group: mygroup

Authentication the group

Acutally behavior
can’t Authentication the group

How to Reproduce
Steps to reproduce the behavior:

Configure the nacos registration server on the client,Configure permissions in the database
Start the client
See error
Desktop (please complete the following information):

OS: [e.g. Centos]
Version [e.g. nacos-server 1.3.0, nacos-client 1.2.1]
Module [e.g. naming/config]
SDK [e.g. original, spring-cloud-starter-alibaba-nacos-discovery]

@KomachiSion
Copy link
Collaborator

Currently, the permissions only can control namespace level, can't support group or more fine granularity.

@KomachiSion KomachiSion added the status/invalid This doesn't seem right label Aug 24, 2020
@syapollo
Copy link
Contributor Author

I may be mistaken. This is not a BUG, but a requirement. I want to add code in this area. Do I need to change the problem type ?

@KomachiSion
Copy link
Collaborator

requirement please use feature requires template. Not use bug report template.

@syapollo
Copy link
Contributor Author

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants