← Back to team overview

mahara-contributors team mailing list archive

[Bug 1967746] Re: Rename file name for portfolio export

 

Hi Ralf,

In general I think your suggestion is a good one. However, this may may
not be as simple as it seems. Sometimes usernames can be very long and
consist of special characters, e.g. when an email address or something
that looks like an email address is the username. We've had it in the
past, esp. with AAI usernames that they were incredibly long. Remember,
a username can be up to 256 characters.

Since Mahara supports various authentication methods, the usernames can
have different formats and a username from an IdP may not necessarily
match an internal Mahara username if there are two authentication
methods in play, esp. thinking about LTI.

So while the Mahara username will be unique, it may still not
(potentially only a minority of cases) match something that comes from
an IdP across the board.

To give an example from a multi-tenanted Mahara site:

1. Account was set up with internal auth at the start. The username is 'paula'.
2. An IdP was introduced and thus the remote username is now '111123@xxxxxx', but the username is still 'paula'.
3. Another account was already on an IdP and thus their username is 'https://aai-login.uni.ac/idp/saml!https://portfolio.site/saml!Tger68+hasdPGB='.
4. That account is switched to another institution where the remote username is now '654321@xxxxxx', but the internal username is still 'https://aai-login.uni.ac/idp/saml!https://portfolio.site/saml!Tger68+hasdPGB='.

In Admin menu -> Groups -> Submissions you can download a CSV file that
includes the full references to portfolios that have been submitted,
including name, portfolio title, group to which it had been submitted,
the archiving time, and the file path on where to find the portfolio on
the server. Since portfolios can be submitted multiple times, this
overview provides those details.

Taking all of that into consideration, I'm not yet convinced that we
should change the current file name convention in Mahara core, which
doesn't preclude you from making a change on your site.

Thank you
Kristina


** Changed in: mahara
       Status: New => Opinion

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1967746

Title:
  Rename file name for portfolio export

Status in Mahara:
  Opinion

Bug description:
  The portfolio  export file is created by

  mahara-export-userId-date-time

  The user ID is an internal ID number that is not used normally. It
  would be better to replace userID by the unique username. Specially if
  institutionen use the export for archiving they can identify the
  export files better.

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



References