Twolewis Posted January 23, 2017 Report Share Posted January 23, 2017 Hi, I'm trying out PlasticSCM Team/Enterprise and got a 30day 5 user license on the server. When I imported a repo from github, all my seats were taken up by users from the github repo. Running "cm licenseinfo" yields something like this: Plastic SCM license information: * User-license information: aaa ACTIVE bbb ACTIVE ccc ACTIVE ddd ACTIVE eee ACTIVE fff ACTIVE ddd ACTIVE eee INACTIVE (Not licensed) ggg INACTIVE (Not licensed) hhh INACTIVE (Not licensed) iii INACTIVE (Not licensed) .... ... .. I've had to manually go into deactivate the users I don't care about, and activate those I do. But now I have a bunch of users in licenseinfo that I just want to get rid of wholesale to make user license management a little easier. So, how do I do that? In a more explicit example, after activating the users I care about, and deactivating those I do not, I end up with something like this: Plastic SCM license information: * User-license information: aaa ACTIVE bbb ACTIVE ccc ACTIVE ddd INACTIVE (Not licensed) eee INACTIVE (Not licensed) fff INACTIVE (Not licensed) ddd INACTIVE (Not licensed) eee INACTIVE (Not licensed) ggg INACTIVE (Not licensed) hhh INACTIVE (Not licensed) iii INACTIVE (Not licensed) .... ... .. I wish to keep users "aaa", "bbb", and "ccc", obliterate the rest, so that when I run "cm licenseinfo" I am left with: Plastic SCM license information: * User-license information: aaa ACTIVE bbb ACTIVE ccc ACTIVE --------------------------------------- Licensed to: Plastic SCM extended trial license - My Name Expiration date: 2/19/2017 4:57:15 PM Edition: enterprise Total licensed users: 5 Total activated users: 3 Total available users: 2 --------------------------------------- How do I do that? Thanks! Link to comment Share on other sites More sharing options...
manu Posted January 30, 2017 Report Share Posted January 30, 2017 Hello, unfortunately it's not possible to do what you want. We keep a list of all the users that are part of the repository history, that is users with branches, changesets etc created by them, owners of Plastic SCM objects. This is useful for organizations where after an initial replication the developers start working immediately, saving enable-user requests time for the VCS admin. Link to comment Share on other sites More sharing options...
GinoSL Posted March 11, 2019 Report Share Posted March 11, 2019 This seems to introduce an issue in my case. During some license cleanup, I noticed that one user was added twice, with different capitalization: FLastname@email.com flastname@email.com I've attempted to deactivate one, of each those instances, leaving the other as active. This user does not have access to the server unless licenses are active for both emails above. As far as I can tell this may be because it checks the inactive user list (case insensitive) before it checks the active user list. I don't know for sure, but it's my best guess. Link to comment Share on other sites More sharing options...
GinoSL Posted March 11, 2019 Report Share Posted March 11, 2019 I've also run into an issue where a user had 2 identical entries, I cannot remove either one, so each one is up a license. Link to comment Share on other sites More sharing options...
GinoSL Posted March 13, 2019 Report Share Posted March 13, 2019 Update: My issue has been resolved by using the --nosolveuser flag when deactivating a user: cm du USERNAME --nosolveuser Link to comment Share on other sites More sharing options...
calbzam Posted March 14, 2019 Report Share Posted March 14, 2019 Thanks for the update and sorry for the inconveniences! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.