routetopa / spod

The Social Platform for Open Data (SPOD) enables social interactions among citizens around open datasets coming from different dataset providers.
6 stars 0 forks source link

Incomplete profile prevents users to access static pages #272

Closed lucavicidomini closed 6 years ago

lucavicidomini commented 7 years ago

When a new user registers, Oxwall asks him/her to complete the profile . While the profile is not complete, user can't access any page. This prevents users to read the Privacy policy and Data policy while on this state.

lucavicidomini commented 7 years ago

This is how NL-SPOD was patched, while waiting a definitive solution.

File: ow_system_plugins/base/classes/event_handler.php At line 398, replace:

    public function onPluginsInitCheckUserStatus()
    {

with:

    public function onPluginsInitCheckUserStatus()
    {
        $attrs=OW::getRouter()->getUsedRoute()->getDispatchAttrs();
        $controller = $attrs['controller'];
        if ($controller == 'BASE_CTRL_StaticDocument')
            return;
vitsca commented 6 years ago

resolved (many releases ago :-))