I have an instance that uses two authentication sources:
The problem is that I need to assing a special group, like jira-internal to the ones from the directory because they have more permissions than people from the internet.
Note: jira-users default group us useless because it is required for login and auto-assgined to all new accounts.
How can I achieve this?
you can have more than one group with login to jira permissions
Administration -> Users -> Global permissions -> JIRA Users
so your internal users can didn't have jira-users group at all and have jira-own-staff like example as equivalent that allow them to log in
Probably I wasn't clear enough, both LDAP first login and registration are creating new jira accounts (the ones registered are local and the one with LDAP are directory accounts, not managed by jira).
THe problme is that, so far, I did not find a way to assign different groups to these two categories of users, in order to be able to give them different permissions.
It is mandatory for this to be automatic, as we do not have the time to manually edit each new auto-created account.
Probably what I need is a default group for each directory, which I wasn't able to find in the options.
"creating account" for LDAP users is not a clear creation - since they already have LDAP account used for their auth ( so as i understand name/surname also takes from ldap )
so you can add a group that defines wider permission for internal users into ldap
You assume that I do have control over the corporate directory, which in 99% of the cases is not true (including me).
As in most coporate environments the LDAP schema is almost impossible to touch and even if it would be theoretically possilbe to touch it, the birocracy would make the taks practically impossible (you'll get it implemented when the need for the change is no longer there).
For this reason, most people are using LDAP only to authenticate active accounts: login, email and password verification.
ok then maybe some group in LDAP already exist that you can use?
can you at least have directory structure from your corporate dept that rules ldap - so you can find some useful group(s)
or maybe CROWD can be a way http://www.atlassian.com/software/crowd/overview
we used it some time before ( then JIRA itself was unable to auth from ldap ) and as i remember there was an option for auto-add groups to user on creation of account, but i'm not sure can be different for different users. but if it will installed as a part of *jira suite* it can be under your control ;)
you can always narrow group search from jira ldap connector
so i think you can try on test jira site ( i hope you have it )
if you still think it's impossible in your situation - than sorry i'm have no more ideas :(
Groups sync form LDAP on big directories is not working for seceral reasons:
See how to use Jira on the go! Demo Den Episode 5 is here: meet Jira Mobile with Jira Product Manager Rayen Magpantay. Demo Den is in our monthly series where a Jira PM demonstrates...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events