← Back to team overview

mahara-contributors team mailing list archive

[Bug 1732381] Re: Ability for the administrator to set default homepage

 

Hi Urpo,

Normal practice allows a user to have permission to edit their own
pages.

So here are some thoughts on how it could be possible to make the
dashboard not editable for a normal user

-----------------

To make a dashboard page for a user not be editable by them one would
need to change a few things:

1) The 'view' (for pages) database table has a column 'locked' - this is
usually used for group pages but could be used for this issue too.

So on creation of new user we somehow set their dashboard page to be
locked by default

2) The $USER->ca_edit_view() function would need some new rules so that
it returns false for locked pages if the viewer of the page is a not an
admin/institution admin user (eg not masquerading)

3) The dashboard page would need to hide the 'Edit dashboard' button if
the dashboard is locked as viewer is not a site/institution admin

Cheers

Robert

** Changed in: mahara
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1732381

Title:
  Ability for the administrator to set default homepage

Status in Mahara:
  New

Bug description:
  Hello,

  I would like to see an feature where system administrators could set
  and define what blocks/text is shown to the users on the
  first/homepage after the login. The page should be static so users
  coudn't modify it.

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


References