PGBI / kong-dashboard

Dashboard for managing Kong gateway
MIT License
2.18k stars 390 forks source link

Can't add plugin to consumer #144

Open bladefist opened 6 years ago

bladefist commented 6 years ago

Issue summary

If you go to the plugins for a consumer, there is an "Add Plugin" button. This is on the /#!/consumers/CONSUMER-ID/plugins page.

If you click Add Plugin, it drops the consumer ID though, and the plugin you add goes to ALL, not the consumer you were previously on.

I'm not sure if this is a bug or a feature request. But it would be awesome to be able to add a plugin to a specific consumer via the portal. Thanks!

peeyush1234 commented 6 years ago

@bladefist You can add a plugin to a specific consumer. After you select a plugin via the portal, you get an option to select which consumer you want to add the plugin to. Let me know if this helps.

bladefist commented 6 years ago

@peeyush1234 you can but if you have thousands of consumers, it wont be in the dropdown list. For this reason, you sometimes need to find the consumer first, and then add the plugin from there.

peeyush1234 commented 6 years ago

@bladefist Makes sense. Also, functionality like typeahead can also solve this problem. Using typeahead, you can search for a specific consumer before adding a plugin to it.