it-projects-llc / odoo-saas-tools

Odoo SaaS Tools — tools for SaaS Businesses. Sale and manage Odoo databases.
https://saas.it-projects.info
GNU Lesser General Public License v3.0
542 stars 577 forks source link

Cannot login to template/ Cannot login by saas portal odoo v12 #833

Closed therealmjk closed 5 years ago

therealmjk commented 5 years ago

Hi guys

I am trying to login my template from plans on the saas portal but i keep have access error

image

Also from the log file i see that log in successful but Access Denied by ACLs for operation: read

2019-05-20 17:16:21,671 9292 INFO portal.logistechglobal.com werkzeug: 127.0.0.1 - - [20/May/2019 17:16:21] "GET /oauth2/auth?response_type=token&client_id=cf0df0e6-7676-11e9-a929-ecf4bb9d9b21&redirect_uri=http%3A%2F%2Fpaid-template.logistechglobal.com%3A8069%2Fauth_oauth%2Fsignin&scope=userinfo&state=%7B%22d%22%3A+%22paid-template.logistechglobal.com%22%2C+%22p%22%3A+4%2C+%22r%22%3A+%22http%253A%252F%252Fpaid-template.logistechglobal.com%253A8069%252Fweb%22%7D HTTP/1.1" 302 - 5 0.003 0.013 2019-05-20 17:16:21,679 9292 INFO paid-template.logistechglobal.com werkzeug: 127.0.0.1 - - [20/May/2019 17:16:21] "GET /auth_oauth/signin HTTP/1.1" 200 - 1 0.001 0.004 2019-05-20 17:16:21,965 9292 INFO portal.logistechglobal.com werkzeug: 127.0.0.1 - - [20/May/2019 17:16:21] "GET /oauth2/tokeninfo?access_token=EDBy1Vj1pMjBKjOPfKrx4RFqgpTNUi HTTP/1.1" 200 - 8 0.009 0.236 2019-05-20 17:16:22,021 9292 INFO paid-template.logistechglobal.com odoo.addons.base.models.res_users: Login successful for db:paid-template.logistechglobal.com login:kazim@logistechglobal.com from 127.0.0.1 2019-05-20 17:16:22,165 9292 INFO paid-template.logistechglobal.com odoo.modules.registry: At least one model cache has been invalidated, signaling through the database. 2019-05-20 17:16:22,167 9292 INFO paid-template.logistechglobal.com werkzeug: 127.0.0.1 - - [20/May/2019 17:16:22] "GET /auth_oauth/signin?access_token=EDBy1Vj1pMjBKjOPfKrx4RFqgpTNUi&expires_in=3600&token_type=Bearer&scope=userinfo&state=%7B%22d%22%3A+%22paid-template.logistechglobal.com%22%2C+%22p%22%3A+4%2C+%22r%22%3A+%22http%253A%252F%252Fpaid-template.logistechglobal.com%253A8069%252Fweb%22%7D HTTP/1.1" 303 - 34 0.031 0.427 2019-05-20 17:16:22,179 9292 INFO paid-template.logistechglobal.com werkzeug: 127.0.0.1 - - [20/May/2019 17:16:22] "GET / HTTP/1.1" 200 - 2 0.001 0.005 2019-05-20 17:16:22,234 9292 INFO paid-template.logistechglobal.com odoo.addons.base.models.ir_model: Access Denied by ACLs for operation: read, uid: 7, model: ir.ui.menu 2019-05-20 17:16:22,364 9292 INFO paid-template.logistechglobal.com werkzeug: 127.0.0.1 - - [20/May/2019 17:16:22] "GET /web HTTP/1.1" 302 - 10 0.009 0.137 2019-05-20 17:16:22,952 9292 INFO paid-template.logistechglobal.com werkzeug: 127.0.0.1 - - [20/May/2019 17:16:22] "GET /web/login?error=access HTTP/1.1" 200 - 185 0.112 0.471 2019-05-20 17:16:23,075 9292 INFO paid-template.logistechglobal.com werkzeug: 127.0.0.1 - - [20/May/2019 17:16:23] "GET /web/webclient/qweb?mods= HTTP/1.1" 200 - 1 0.000 0.007 2019-05-20 17:16:23,078 9292 INFO paid-template.logistechglobal.com werkzeug: 127.0.0.1 - - [20/May/2019 17:16:23] "POST /web/webclient/bootstrap_translations HTTP/1.1" 200 - 1 0.000 0.007

ilmir-k commented 5 years ago

@therealmjk Try to Login via SaaS Portal and see the access rights of the user you are trying to log in.

therealmjk commented 5 years ago

Yeah but i can't Login via SaaS Portal either @ilmir-k

ilmir-k commented 5 years ago

@therealmjk I've just noticed that you try to use version 12, but SaaS has not been migrated to this version yet that's why you may have issues. Instead of that we focused on another version of SaaS - see https://github.com/it-projects-llc/saas-addons/tree/12.0

You can also see the info about new approach at https://github.com/it-projects-llc/odoo-saas-tools/issues/805

therealmjk commented 5 years ago

Thanks @ilmir-k So if i get this clear we cannot implement saas on V12 at the moment till the new project is launched right?

ilmir-k commented 5 years ago

@therealmjk Right, but you can try to use #822 for a while

therealmjk commented 5 years ago

@ilmir-k Yeah i am using this version. Is okay i have a work around => i can update the password of the template administrator directly from the pg-database and login then change the password to something better