Forums | Mahara Community
Support
/
hide profile-page by default
07 December 2019, 6:37
How to hide the profile view in mahara by default? A profile view should only be visible to selected users.
09 December 2019, 9:24
Hi Andreas
Looking at:
https://manual.mahara.org/en/19.10/portfolio/pages.html#profile-page
https://manual.mahara.org/en/19.10/portfolio/share.html#restrict-profile-access
You can set the site so that one can remove full access for users to their profile page by going to Admin -> Configure site -> Site options -> User settings.
Users in the same institution will still be able to see the full profile page.
If you are wanting to remove full access for existing users after turning on that switch you can do so via the database.
DELETE FROM view_access WHERE id IN (SELECT id FROM (SELECT va.id FROM view_access va JOIN view v ON v.id = va.view WHERE v.type = 'profile' AND va.accesstype = 'loggedin') AS va_temp);
Cheers
Robert
11 December 2019, 9:48
Hi Andreas,
In some cases it is desirable that everyone has access to the profile page, e.g. here in the community, on other sites where there are not so strict German regulations etc. In general, it would be good to have more flexibility in restricting or allowing profile access more easily on the site level.
Cheers
Kristina