The problem seams to be that isolated institutions does not support
usercanchooseviewthemes. The code is in /view/view.php


        if (is_isolated()) {
            // We don't really want people picking a theme from another 
institution
            // if they can't see that institution
            return false;
        }


I do not understand why it would be a problem to choose a theme. I think themes 
does not belong to an individual institution and should be selectable by a 
user. But maybe I am missing something.

I am thinking about a config (just for example) like 
"users can choose view themes in isolated institutions"


        if (is_isolated() && 
!get_config('userscanchooseviewthemesinisolatedinstitutions')) {
            // We don't really want people picking a theme from another 
institution
            // if they can't see that institution
            return false;
        }

Such a config would give the option to configure mahara to allow or not
allow themes in an isolated institution setting.

-- 
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/2003058

Title:
  Authors can choose page themes does not work

Status in Mahara:
  Incomplete

Bug description:
  In mahara 22.04 the setting "Authors can choose page themes" is activated but 
in the page settings the drop down for selecting a theme is missing.
  On https://demo.mahara.org theme setting is also missing but I do not know if 
"Authors can choose page themes" is activated.

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


_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to