View Issue Details

IDProjectCategoryView StatusLast Update
0000353WackoWikipage rightspublic2010-03-09 21:49
ReporterElar9000 Assigned ToElar9000  
PriorityhighSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.0.beta 
Summary0000353: When using usernames with trailing "n" letter can't assign user to group permissions
DescriptionWhen using usernames with trailing "n" letter you can't assign user with usermane like TestMan to group permissions.
Steps To Reproduce1. Create user TestMan
2. Add user TestMan to group Admins
3. See that nothing happened, call {{usergroups}} to find out why
TagsNo tags attached.

Activities

Elar9000

2010-03-09 21:49

manager   ~0000748

ln. 404 init.php -- trim($users,'\n');

changed to:

// Made so to prevent system from trimming 'n\n' (like TestMan\n -> TestMa)
   $trimone = rtrim($users,'n');
   $this->config["aliases"][$group] = trim($trimone,'\\');

Issue History

Date Modified Username Field Change
2010-03-09 15:10 Elar9000 New Issue
2010-03-09 15:11 Elar9000 Steps to Reproduce Updated
2010-03-09 21:47 Elar9000 Status new => assigned
2010-03-09 21:47 Elar9000 Assigned To => Elar9000
2010-03-09 21:49 Elar9000 Note Added: 0000748
2010-03-09 21:49 Elar9000 Status assigned => resolved
2010-03-09 21:49 Elar9000 Resolution open => fixed