You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/05/26 05:59:21 UTC

[GitHub] [apisix-ingress-controller] rjiang-ptm opened a new issue, #1043: request help: apisix wolf-rbac consumer config for multiple appIds

rjiang-ptm opened a new issue, #1043:
URL: https://github.com/apache/apisix-ingress-controller/issues/1043

   ### Issue description
   
   
   
   In the apisixConsumer config for wolf-rbac, the appId field can only be specified for one appid, or a list of appid? The use case is: usually for a given consumer/user, there are multiple apps (appids) associated with that user. 
   
   Here is the typical consumer config for wolf-rbac:
   ```
   {
     "username":"wolf_rbac",
     "plugins":{
       "wolf-rbac":{
         "server":"http://127.0.0.1:12180",
         "appid":"restful"
       }
     },
     "desc":"wolf-rbac"
   }'
   ```
   
   Notice the `appid` is just one string.
   
   If the apisixConsumer wolf-rbac config can support multiple appid for a given consumer/user, how to specify it - in what format, can you show some examples? If it's not supported, what do you suggest to support the above user case?
   
   
   
   ### Environment
   
   - your apisix-ingress-controller version (output of apisix-ingress-controller version --long): 1.4.0
   - your Kubernetes cluster version (output of kubectl version): 1.22
   - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1043: request help: apisix wolf-rbac consumer config for multiple appIds

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1043:
URL: https://github.com/apache/apisix-ingress-controller/issues/1043#issuecomment-1138221398

   Please refer to https://apisix.apache.org/docs/apisix/plugins/wolf-rbac/#attributes, it is consistent with APISIX


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 closed issue #1043: request help: apisix wolf-rbac consumer config for multiple appIds

Posted by GitBox <gi...@apache.org>.
tao12345666333 closed issue #1043: request help: apisix wolf-rbac consumer config for multiple appIds
URL: https://github.com/apache/apisix-ingress-controller/issues/1043


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1043: request help: apisix wolf-rbac consumer config for multiple appIds

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1043:
URL: https://github.com/apache/apisix-ingress-controller/issues/1043#issuecomment-1138267501

   I mean it depends on the implementation in APISIX


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] rjiang-ptm commented on issue #1043: request help: apisix wolf-rbac consumer config for multiple appIds

Posted by GitBox <gi...@apache.org>.
rjiang-ptm commented on issue #1043:
URL: https://github.com/apache/apisix-ingress-controller/issues/1043#issuecomment-1138238470

   Are you saying it is indeed true for apisixConsumer to only have ONE appid associated? That means one consumer can only access one app? In wolf-rbac, one user (corresponding to one consumer in apisix) can have a list of appIds, which means one user can access multiple apps (same as the use case I mentioned above).
   
   Should the apisixConsumer config for `appid` field be expanded to a list?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] rjiang-ptm commented on issue #1043: request help: apisix wolf-rbac consumer config for multiple appIds

Posted by GitBox <gi...@apache.org>.
rjiang-ptm commented on issue #1043:
URL: https://github.com/apache/apisix-ingress-controller/issues/1043#issuecomment-1138815373

   ah, right, should post this question on apisix then...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1043: request help: apisix wolf-rbac consumer config for multiple appIds

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1043:
URL: https://github.com/apache/apisix-ingress-controller/issues/1043#issuecomment-1139267154

   I will close this issue and open it for tracking after APISIX supports this behavior, thanks for the report


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1043: request help: apisix wolf-rbac consumer config for multiple appIds

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1043:
URL: https://github.com/apache/apisix-ingress-controller/issues/1043#issuecomment-1139266378

   Yes 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org