Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

LDAP Groups->Roles fails #53

Open
battosai30 opened this issue Jun 5, 2019 · 0 comments
Open

LDAP Groups->Roles fails #53

battosai30 opened this issue Jun 5, 2019 · 0 comments

Comments

@battosai30
Copy link

Hi,

Fresh install : Ubuntu 19 + Snap wekan install (v2.75.0)

When I activatesync role groups
sudo snap set wekan ldap-sync-group-roles='true' ldap-sync-admin-groups='admin'
Login fails. Error :
Exception while invoking method 'login' { stack: 'ReferenceError: Roles is not defined
I guess the line concerned is 177 in loginHandler.js :

if( groups.length > 0 ) {
        Roles.setUserRoles(user._id, groups );
        log_info(`Updated roles to:${  groups.join(',')}`);
      }

Regards

@xet7 xet7 transferred this issue from wekan/wekan Jan 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant