Upsource License User Count

I am setting up an external Hub instance for use with a TeamCity server and an Upsource Server.  It is being setup to use LDAP and currently all users that can log into TeamCity using LDAP get added to the database.  Is there a way to keep doing this but also limit the number of users that are allowed to use UpSource so we don't exceed the limit on the license?


Thank You

8 comments

Hello Todd,

Currently the only way you may achive this is to split users by roles. So what you need to do is to create separate group with role which allows you to access Upsource (the role allows access to Upsource when it contains at least one permission from Upsource service).
So what you need to do exactly is that allow login via LDAP your users to one group, which restricts access to Upsource and explictitly move needed accounts to group which allows access to Upsource.

We are really sorry for the inconvinience, we are going to improve this behaviour in upcoming releases.
Please follow https://youtrack.jetbrains.com/issue/JPS-3237 for updates.

0

Everyone who logs into hub is part of the Registered User Group and the only role in that group is Observer in the Global project.  This user can log into Upsource but can not see any projects or do anything.  Is that user counted against the user limit in Upsource?  The user I want to have access to Upsource I have assigned to the default Developer role on the Global project.


Thank You

0

This happens because Registered Users is auto-join group. So you can either change Observer role and remove all Upsource permission from there, like "View Upsource Project" and then user won't be counted against Usource license. Or make this group not auto-joinable and configure your LDAP Auth Module to add users into a special group.

0

Yes Registered User is the auto join group by default.  The Registered User group by default has the Global Observer role which only contains Hub Read Self and Hub Update Self permissions by default.  So the Registered user does not have any of the Upsource permissions, from that I thought they would not have access to Upsource at all.  Since they can log in but do not have access to do anything I just wanted to make sure that they do not count against the license count.


Thanks

0

Actually Upsource adds its permission called 'View Upsource Project' to the role Observer. Please check that it's not the case in your installation.

0

The View Upsource Project is not checked.  There are a total of 4 Upsource permissions I see, Upsource Server Asministration, Upsource Project Administration, View Upsource Project and Edit Upsourced Content and none are check in the Observer Role.

0

So they shouldn't count. Do you have any issues with them? You can check which roles are counted in license if you go to <hub home url>/licenses. Then click on the field with `User Count`.

0

No don't have a problem with them just want to make sure they did not count as users.  The Observer Role does not show up when clicking the User Count in the Upsource license so it looks like we are good to go.


Thank You

0

Please sign in to leave a comment.