It is possible to block or limit the use of jira-users group in the administration project panel?
The problem is that if a project administrator add jira-users in the roles of the project, this could result in sending notification to thousands of users.
It will be nice to restrict the use of jira-users only to JIRA administrators.
That would be a lovely improvement to JIRA, but I'm afraid it's not possible without code change (I've done it in a couple of places, by hacking the .vm that provides the option - specifically I did it for the options of sharing dashboards and subscriptions!)
Could you provide some code examples on how to do that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I unaccepted your answer because I still have the problem and din't find a way to solve that.
Thanks for the hint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mmm, I didn't see your first comment. But the answer is still correct. You'll need to find the templates that provide the selection criteria and hack them (I can't provide code because the templates vary between versions of JIRA in both location/name and how they do what they do)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm lost searching which velocity or java class are used to display the project's roles page:
plugins/servlet/project-config/PROJECT-KEY/roles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, I think that one is buried in a "system" plugin - you'd need to expand that, find and edit the vm and then repackage it.
(I'd expect a proper developer to tell me off for doing it this way, but you can unzip a plugin .jar file, edit text files such as .vms in them and then repackage them with a simple zip. Some file managers actually let you do that without even unzipping them, they handle that for you)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I disabled the two modules about Group role in the system plugin 'Project Role Actors Plugin', now if someone tries to add a group in the project roles he will receive an error message.
I hope that this will not break something else in Jira...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had to re-enable those two modules beacause previous permissions given by group-roles were not working anymore.
I still haven't found the code that is used to display the project-actor-role table, anyone can help me?
I'm looking inside atlassian-jira-6.4.13-source folder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not that this solves your problem, but we replaced our jira-user group with multiple organizational groups. these smaller groups limit the impact of adding the groups to the project user roles and mass spamming.
I agree that it would be awesome to be able to block the use of certain groups. In my Development's team backlog we have a task to see if we can do this with Script Runner, I will keep you posted if we are successful!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.