[dokuwiki] Re: Mass assignment of groups in user manager

Hi,

thanks for your feedback. The approach you described would solve all three
points. However, there are two usability problems with the simpler approach:

We change groups very often and having to type the group names is more
effort.
Also, typing the group name is more error-prone.

Thus, in our case the GUI with the checkboxes is a feature we would be
reluctant to give up. 
So here is a compromise: I will implement the interface like you described
and make the checkboxes a configurable option:
On the config page you have a field "Number of checkboxes" for a maximum
number of displayed checkboxes . Defaults to 0. Also you have a text field
"Group names for checkboxes". If the field has group names in it, these will
be used instead of the result form the 'retrieveGroups' method.

Greetings, 

Gabriel

> -----Original Message-----
> From: dokuwiki-bounce@xxxxxxxxxxxxx 
> [mailto:dokuwiki-bounce@xxxxxxxxxxxxx] On Behalf Of Andreas Gohr
> Sent: Sunday, June 22, 2008 11:04 AM
> To: dokuwiki@xxxxxxxxxxxxx
> Subject: [dokuwiki] Re: Mass assignment of groups in user manager
> 
> Hi,
> 
> > as promised (some months ago) - here is a patch for the 
> usermanager plugin
> > that will add a gui to assign groups to all of the selected 
> users. Hopefully
> > this will make its way into the next release. I'm open for 
> comments and
> > suggestions.
> 
> I finally found the time to have a look at the patch. I like the idea,
> but there are a few minor things to nitpick on.
> 
> 1) When the backend isn't capable of retrieving groups, you select
> *all* users and extract the groups from them. This is a bad idea
> because the list of users could be huge (think of a company using
> their LDAP directory for authentication - there could be thousands of
> users).
> 
> 2) With a big number of groups, the list of check boxes can grow huge.
> 
> 3) With the groups management in its own section, it is not clear that
> the affected users need to be selected in the form above.
> 
> I'd suggest a simpler approach: add the mass group management at the
> bottom of the user table like this:
> 
> ( ) add or ( ) delete the following grous for selected users:
> [__________________]  [Go]
> 
> You can just select the users above, the action (delete or add) and
> add a list of comma separated groups like when creating or modifying a
> user.
> 
> What do you think?
> 
> Andi
> -- 
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
> 

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: