Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Can't add user to groups #213

Open
Chupesmpx opened this issue Oct 1, 2015 · 2 comments
Open

Can't add user to groups #213

Chupesmpx opened this issue Oct 1, 2015 · 2 comments

Comments

@Chupesmpx
Copy link

Whenever i try to add a user to a group i get an error that user can only be in one group, but the usser isnt associated with any groups.

user addgroup Chuperto gen

10/1/2015 1:17:58 AM Command> Exception from command
10/1/2015 1:17:58 AM Command> System.NotSupportedException: A player can only be associated to one group, please assign a parent to the desired group
at OTA.Data.Storage.AddUserToGroup(String username, String groupName)
at TDSM.Core.Entry.UserPermission(ISender sender, ArgumentList args)
at OTA.Command.CommandInfo.Run(ISender sender, ArgumentList args)
at OTA.Command.CommandParser.ParseAndProcess(ISender sender, String line)
at OTA.Command.CommandParser.ParseConsoleCommand(String line, ConsoleSender sender)
at TDSM.Core.Entry.ListenForCommands()

user listgroups Chuperto
There are no registered groups for user Chuperto

@D1G1T4L3CH0
Copy link
Collaborator

Confirmed. Adding a new user and then immediately attempting to assign a group to the user results in the above exception.

EDIT: Actually I realized the build I had was old, but newer than B5. So I pulled the latest and tested again. It is working fine in the latest commit 9256765.

@SignatureBeef
Copy link
Owner

As per the new database, this might be fixed. This needs testing again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants