Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

I want to restrict some users to access openerp database, How can i restrict?

By
Remya
on 6/8/14, 12:52 AM 1,033 views

I am admin user, i wantto restrict some of my users to login for some period. 

When i give access to them, they can login o their account. Where should i update the code?

Any solution for this?

I know the active checkbox present in users form. but dont want to use that method.

I want to add a date field in users table. Before login we want to chack that expire date. if expire date same as current date then expire, the use will not have the permission to login the database.

1

gunnar

--gunnar--
1153
| 6 7 8
Germany
--gunnar--

born

gunnar
On 6/8/14, 7:52 AM

I would say you have 2 options

  1. you dectivate the user you want to restrict access (and later reactivate him if you want)
  2. you change the password (and uncheck the option enabling users to request reset of password from the login page)

both I have not tested. Especially what happens once you deactivate a user and whether there might be any problem when reactivating him. I would suggest to test the method you want to use with a test user first to see whether it works fine or not

Thanks for reply. Database is in remote machine, i will set a particular date in the database. When the date comes the user should deactivate. How can i implement this?

Remya
on 6/9/14, 12:56 AM
0
Denis Rodin
On 6/8/14, 8:05 AM

Hi, all users have "Active" status check boks in the settings menu. You can use this check boks to deactivate user. 

Thanks for reply. Database is in remote machine, i will set a particular date in the database. When the date comes the user should deactivate. How can i implement this?

Remya
on 6/9/14, 12:57 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 6/8/14, 12:52 AM
Seen: 1033 times
Last updated: 3/16/15, 8:10 AM