mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #06963
[Bug 548327] Re: Users should have one directory that can't be removed
** Tags removed: mahara-eduforge-bug
** Description changed:
The 'viewfiles' copying debacle and related discussion suggests we
should have a directory for all users what can't be deleted, whose ID is
known to the view copying/blog file uploading code.
This is a directory that can be renamed, and even moved around in a
user's file structure. And it can have files/folders inside it, which
can be moved in and out. But the directory cannot be removed.
That directory ID is known by the code. When views are copied, the
folder which contains files copied from that View is put in this
nondeletable folder.
This stops the problem of copying a folder named 'viewfiles' causing an
infinite loop.
The blogfiles folder can be replaced with using this folder too.
This means we can remove some code from public static function
change_language in lib/user.php.
-
- This bug was imported from eduforge.org, see:
- https://eduforge.org/tracker/index.php?func=detail&aid=3106&group_id=176&atid=739
** Changed in: mahara
Importance: Low => Wishlist
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/548327
Title:
Users should have one directory that can't be removed
Status in Mahara ePortfolio:
Confirmed
Bug description:
The 'viewfiles' copying debacle and related discussion suggests we
should have a directory for all users what can't be deleted, whose ID
is known to the view copying/blog file uploading code.
This is a directory that can be renamed, and even moved around in a
user's file structure. And it can have files/folders inside it, which
can be moved in and out. But the directory cannot be removed.
That directory ID is known by the code. When views are copied, the
folder which contains files copied from that View is put in this
nondeletable folder.
This stops the problem of copying a folder named 'viewfiles' causing
an infinite loop.
The blogfiles folder can be replaced with using this folder too.
This means we can remove some code from public static function
change_language in lib/user.php.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/548327/+subscriptions