Reputation: 103
I would like to develop a custom plugin restricting access to certain parts of SonarQube (Deletion of project, Modification of permissions etc) depending on their assignment to different groups. I was able to implement a filter which will redirect a user in case he tries to access page which is restricted to him. There are 2 problems I am facing.
I am not able to get the logged in user (I am able to get his ID via request session but I am not able to get any more information about him.).
I am not able to get information about groups the user belongs to.
There might be an api for this however I am not able to find any examples or the documentation that might help me.
Thank you,
Jakub
Upvotes: 0
Views: 106
Reputation: 2587
Sorry, but it's not possible to customize pages access of SonarQube.
Upvotes: 0