Public release from ruodoo-project: 19.0 - 2026-05-10 21:19:01 UTC
This commit is contained in:
50
access_restricted/doc/changelog.rst
Normal file
50
access_restricted/doc/changelog.rst
Normal file
@ -0,0 +1,50 @@
|
||||
`1.3.5`
|
||||
-------
|
||||
|
||||
- **Fix:** Fixed possibility to write inappropriate groups directly via write method after some odoo updates https://github.com/odoo/odoo/commit/5f12e244f6e57b8edb56788147774150e2ae134d
|
||||
|
||||
`1.3.4`
|
||||
-------
|
||||
|
||||
- **Fix:** Allow superuser to write groups via settings menu
|
||||
|
||||
`1.3.3`
|
||||
-------
|
||||
|
||||
- **Fix:** If no permission to add groups then just ignore write operations to groups model records but apply any other valid settings. In other words - do not block rest of the settings from applying if there is only no permission to add groups
|
||||
|
||||
`1.3.2`
|
||||
-------
|
||||
|
||||
- **Fix:** regardless of ``Allow add implied groups from settings`` always allow to uncheck **group_XXX** fields from settings menu. This makes possible for ``access_apps`` module to independently install apps from settings menu. Otherwise users of ``access_apps`` need always be in ``Allow add implied...`` to install from settings
|
||||
|
||||
`1.3.1`
|
||||
-------
|
||||
|
||||
- **Fix:** a user, if he has ``Allow add implied groups from settings`` group access right, should be able to uncheck **group_XXX** fields from a settings menu to exit from implied groups (all other users that are in implying group also quit from the implied group)
|
||||
|
||||
`1.3.0`
|
||||
-------
|
||||
|
||||
- [ADD] security group that allows increasing rights from settings menu (by checking ``res.config.settings`` 'group_XXX' boolean fields)
|
||||
|
||||
`1.2.0`
|
||||
-------
|
||||
|
||||
- [REF] clean and simplify code
|
||||
|
||||
`1.1.0`
|
||||
-------
|
||||
|
||||
- ADD: Make restricted groups readonly in Settigs pages (res.config.settings)
|
||||
- ADD: don't restrict access to Technical Settings group
|
||||
|
||||
`1.0.1`
|
||||
-------
|
||||
|
||||
- FIX: update to the latest odoo 9.0 version due to this comit from Mar 24, 2016 https://github.com/odoo/odoo/commit/40a299c580c4608edab8781fda4e66f39611543b
|
||||
|
||||
`1.0.0`
|
||||
-------
|
||||
|
||||
- init version
|
||||
37
access_restricted/doc/index.rst
Normal file
37
access_restricted/doc/index.rst
Normal file
@ -0,0 +1,37 @@
|
||||
==================================
|
||||
Restricted administration rights
|
||||
==================================
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
* `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
|
||||
* `Log in as SUPERUSER <https://odoo-development.readthedocs.io/en/latest/odoo/usage/login-as-superuser.html>`__
|
||||
* Navigate to menu ``[[ Settings ]] >> Users & Companies >> Users``
|
||||
* In ``Access Rights`` tab you can select *Allow add implied groups from settings*:
|
||||
it allows a user to configure groups via ``group_XXX`` fields from ``Settings`` menu.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
By default all users except a superuser restricted to escalate the privileges.
|
||||
|
||||
Let's take ``Sales (sale_management)`` module as an example.
|
||||
|
||||
Without this module installed:
|
||||
|
||||
* Say you have a user with administration rights ``Administration: Access Rights``. This user thus may increase his own rights in ``Application Accesses`` from ``Sales: User: Own Documents Only``
|
||||
to ``Sales: Administrator``. Also he can open menu ``[[ Sales ]] >> Configuration >> Settings`` and select ``Customer Addresses`` there
|
||||
and then click ``[Apply]`` button (adding ``group_sale_delivery_address``)
|
||||
|
||||
With this module installed:
|
||||
|
||||
* The user from previous example cannot increase his privileges. There is no ``Sales: Manager`` option for him, and also no ``Customer Addresses``
|
||||
option in module configuration
|
||||
* The only exception is done for users who are in special group *Allow add implied groups from settings*: if your user is included in this group by the superuser then you may select
|
||||
``Customer Addresses`` from ``Sale`` module ``Configuration >> Settings`` menu
|
||||
Reference in New Issue
Block a user