← Back to team overview

mahara-contributors team mailing list archive

[Bug 826649] Re: Add group shortnames to manually created groups

 

I agree, the group shortname could be automatically generated, from the
group name. In fact, "group.name" in the database is 128 characters and
guaranteed to be unique, by a uniqueness constraint. "group.shortname"
is 255 characters (paradoxically, "shortname" is twice the size of
"name"!), so we could easily just copy it across at the time of group
creation. If a group with that shortname already existed (due to CSV
uploads) we could use some kind of simple fix like adding a "2" to the
end of it. Since group.shortname is so much longer than group.name,
there's plenty of space to do that.

It would also make sense to make the group shortname visible, at least
to site/institution admins on the group search page. Perhaps via an
extra column on that page. For that matter, you could even make this
data visible, even configurable, from the group editing page. Just put
it towards the bottom under "advanced".

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/826649

Title:
  Add group shortnames to manually created groups

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  In Mahara 1.5 groups can be created via a CSV file and associated with
  an institution. Often, however, groups can be created manually, but a
  CSV upload of the members may be preferred. Thus, it would be good if
  manually created groups could also have a short name (that is also
  displayed to the admin) so that members can be added via CSV.

  This wishlist item needs a bit more thinking because the CSV feature
  allows institution admins to create groups that are associated with
  their institution (though it doesn't do anything with that information
  yet, I think) but not on a site level. Furthermore, if groups already
  exist, they would need to be assigned a short name. And then who can
  add members as they are not associated with an institution yet?

  Furthermore, the CSV upload is also only beneficial if users don't
  change their user names. An admin must be aware of that or his upload
  may not work most of the time. Thus, user names should be locked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/826649/+subscriptions


References