Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant