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

Make plugin compatible with multi tenancy in grails > 3.1 #313

Open
rkimaoui opened this issue Jan 24, 2017 · 1 comment
Open

Make plugin compatible with multi tenancy in grails > 3.1 #313

rkimaoui opened this issue Jan 24, 2017 · 1 comment

Comments

@rkimaoui
Copy link

rkimaoui commented Jan 24, 2017

AuthenticationToken resolving doesn't support MultiTenant implementation.
Like:

import grails.gorm.MultiTenant

class AuthenticationToken implements MultiTenant<AuthenticationToken> {

    Long tenantId
    String username
    String token

    static constraints = {
    }
}

With this implementation, i get this error on login:

ERROR: column this_.tenant_id does not exist

Do you have an idea how to solve this plz ?

In my application, User domain class is multitenant so AuthenticationToken must be too.

@rkimaoui
Copy link
Author

any news ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants