Skip to content

Conversation

@yajo
Copy link
Member

@yajo yajo commented May 24, 2018

Odoo v9 auth methods usually violate both old and new api; they just only work in old api, so I had to adapt some tests to use it instead.

Normal backport outside of that.

@Tecnativa

legalsylvain and others added 7 commits May 24, 2018 08:40
To fix OCA#1125 I needed to refactor the addon. To whitelist IPs now you use a config parameter, which renders res.banned.remote model unneeded.

The fix is affected by odoo/odoo#24183 and will not work until it gets fixed upstream due to the technical limitations implied.
- The `whitelisted` field needs to exist in view to be usable.
- The correct class is `decoration-danger` for tree views.
Include HACK for odoo/odoo#24833, which explains the false positive problem we were having here: an addon being importable doesn't mean it is installed.
Odoo v9 auth methods usually violate both old and new api; they just only work in old api, so I had to adapt some tests to use it instead.

Normal backport outside of that.
@yajo yajo force-pushed the 9.0-auth_brute_force branch from deeb92e to 883a21f Compare May 24, 2018 08:21
@yajo yajo self-assigned this May 24, 2018
@yajo yajo added this to the 9.0 milestone May 24, 2018
@yajo yajo mentioned this pull request May 24, 2018
@pedrobaeza pedrobaeza mentioned this pull request May 24, 2018
59 tasks
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work

@pedrobaeza pedrobaeza merged commit f5189f8 into OCA:9.0 May 24, 2018
@pedrobaeza pedrobaeza deleted the 9.0-auth_brute_force branch May 24, 2018 09:25
SiesslPhillip pushed a commit to grueneerde/OCA-server-tools that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/server-tools (10.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants