QuillLittlefeather / openmetaverse

Automatically exported from code.google.com/p/openmetaverse
0 stars 0 forks source link

AddUser / RemoveUser Improvements #69

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The AddUser API call does not work for editing users. Upon editing the user, 
all foreignkey linked tables are wiped of the users information. This prohibits 
the changing of accesslevels.

RemoveUser should change operation. AccessLevel for the user should be set to 
0. All associated user information should be removed.

Original issue reported on code.google.com by jonaf...@gmail.com on 15 Sep 2010 at 2:43

GoogleCodeExporter commented 8 years ago

Original comment by jhurlima...@gmail.com on 18 Sep 2010 at 2:20

GoogleCodeExporter commented 8 years ago

Original comment by jonaf...@gmail.com on 22 Sep 2010 at 12:45

GoogleCodeExporter commented 8 years ago
Here's a modified version of Class.RemoveUser.php that will remove associated 
data for a user from the SimianGrid tables, but leave the User row with an 
AccessLevel of 0. A migration needs to be created that removes the foreign key 
relationship I assume? I'm not sure exactly how the migrations work yet.

Original comment by jhurlima...@gmail.com on 20 Oct 2010 at 6:25

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by jhurlima...@gmail.com on 20 Oct 2010 at 6:26