mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
IMP base_grp_backend: set doc picture
This commit is contained in:
@@ -7,12 +7,12 @@ Group backend
|
|||||||
!! This file is generated by oca-gen-addon-readme !!
|
!! This file is generated by oca-gen-addon-readme !!
|
||||||
!! changes will be overwritten. !!
|
!! changes will be overwritten. !!
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
!! source digest: sha256:c7397d2b2e542e6918527090ab259d68f9d3b6a25386feccdc38002e51be4e31
|
!! source digest: sha256:879007f368a0b75ad5da7f5d3e3d1d6ae386da26d27df7fc4dec1a6865cf0233
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
|
||||||
:target: https://odoo-community.org/page/development-status
|
:target: https://odoo-community.org/page/development-status
|
||||||
:alt: Beta
|
:alt: Alpha
|
||||||
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
|
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
|
||||||
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
|
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
|
||||||
:alt: License: LGPL-3
|
:alt: License: LGPL-3
|
||||||
@@ -56,6 +56,13 @@ This modules does 3 things:
|
|||||||
We suggest to use this module with its compagnon `base_user_role`
|
We suggest to use this module with its compagnon `base_user_role`
|
||||||
|
|
||||||
|
|
||||||
|
Here is an example where a backend ui user can only access and use the dummy app. No other application are available to this user. You may define your own application instead of the dummy one.
|
||||||
|
|
||||||
|
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/16.0/base_group_backend/static/description/dummy_app.png
|
||||||
|
:alt: Dummy app for demo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Limitations
|
Limitations
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
|
|
||||||
@@ -74,6 +81,11 @@ that check if user is part of the `base.group_user` or `share == False` group.
|
|||||||
equivalent to grant `group_user`'s group everywhere `has_group`
|
equivalent to grant `group_user`'s group everywhere `has_group`
|
||||||
has been used.
|
has been used.
|
||||||
|
|
||||||
|
.. IMPORTANT::
|
||||||
|
This is an alpha version, the data model and design can change at any time without warning.
|
||||||
|
Only for development or testing purpose, do not use in production.
|
||||||
|
`More details on development status <https://odoo-community.org/page/development-status>`_
|
||||||
|
|
||||||
**Table of contents**
|
**Table of contents**
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
@@ -102,6 +114,18 @@ You get a users that is only able to access to the Odoo backend which you
|
|||||||
can attach other groups that not implies other kind of users (`portal`,
|
can attach other groups that not implies other kind of users (`portal`,
|
||||||
`internal users`)
|
`internal users`)
|
||||||
|
|
||||||
|
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/16.0/base_group_backend/static/description/backend_ui.png
|
||||||
|
:alt: Backend UI user
|
||||||
|
|
||||||
|
Known issues / Roadmap
|
||||||
|
======================
|
||||||
|
|
||||||
|
Current module depends on `base_install_request` instead of `base`.
|
||||||
|
|
||||||
|
We don't need `base_install_request` auto install module but we must override it to set a security group on `App` menu.
|
||||||
|
|
||||||
|
This dependency should be remove if possible in future versions.
|
||||||
|
|
||||||
Bug Tracker
|
Bug Tracker
|
||||||
===========
|
===========
|
||||||
|
|
||||||
@@ -141,13 +165,16 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|||||||
mission is to support the collaborative development of Odoo features and
|
mission is to support the collaborative development of Odoo features and
|
||||||
promote its widespread use.
|
promote its widespread use.
|
||||||
|
|
||||||
.. |maintainer-oca| image:: https://github.com/oca.png?size=40px
|
.. |maintainer-FranzPoize| image:: https://github.com/FranzPoize.png?size=40px
|
||||||
:target: https://github.com/oca
|
:target: https://github.com/FranzPoize
|
||||||
:alt: oca
|
:alt: FranzPoize
|
||||||
|
.. |maintainer-bealdav| image:: https://github.com/bealdav.png?size=40px
|
||||||
|
:target: https://github.com/bealdav
|
||||||
|
:alt: bealdav
|
||||||
|
|
||||||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
|
||||||
|
|
||||||
|maintainer-oca|
|
|maintainer-FranzPoize| |maintainer-bealdav|
|
||||||
|
|
||||||
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/16.0/base_group_backend>`_ project on GitHub.
|
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/16.0/base_group_backend>`_ project on GitHub.
|
||||||
|
|
||||||
|
|||||||
@@ -3,16 +3,17 @@
|
|||||||
{
|
{
|
||||||
"name": "Group backend",
|
"name": "Group backend",
|
||||||
"version": "16.0.1.0.0",
|
"version": "16.0.1.0.0",
|
||||||
|
"development_status": "Alpha",
|
||||||
"category": "Tools",
|
"category": "Tools",
|
||||||
"author": "Pierre Verkest, Odoo Community Association (OCA)",
|
"author": "Pierre Verkest, Odoo Community Association (OCA)",
|
||||||
"license": "LGPL-3",
|
"license": "LGPL-3",
|
||||||
"maintainers": ["oca"],
|
|
||||||
"website": "https://github.com/OCA/server-backend",
|
"website": "https://github.com/OCA/server-backend",
|
||||||
"depends": [
|
"depends": [
|
||||||
"base",
|
"base",
|
||||||
"base_install_request", # weird module, we need to survive with it
|
"base_install_request", # weird module, we need to survive with it
|
||||||
"mail",
|
"mail",
|
||||||
],
|
],
|
||||||
|
"maintainers": ["FranzPoize", "bealdav"],
|
||||||
"demo": [
|
"demo": [
|
||||||
"demo/test-model.xml",
|
"demo/test-model.xml",
|
||||||
"demo/ir.model.access.csv",
|
"demo/ir.model.access.csv",
|
||||||
|
|||||||
@@ -26,6 +26,13 @@ This modules does 3 things:
|
|||||||
We suggest to use this module with its compagnon `base_user_role`
|
We suggest to use this module with its compagnon `base_user_role`
|
||||||
|
|
||||||
|
|
||||||
|
Here is an example where a backend ui user can only access and use the dummy app. No other application are available to this user. You may define your own application instead of the dummy one.
|
||||||
|
|
||||||
|
.. figure:: ../static/description/dummy_app.png
|
||||||
|
:alt: Dummy app for demo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Limitations
|
Limitations
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
@@ -5,3 +5,6 @@ To use this module, you need to:
|
|||||||
You get a users that is only able to access to the Odoo backend which you
|
You get a users that is only able to access to the Odoo backend which you
|
||||||
can attach other groups that not implies other kind of users (`portal`,
|
can attach other groups that not implies other kind of users (`portal`,
|
||||||
`internal users`)
|
`internal users`)
|
||||||
|
|
||||||
|
.. figure:: ../static/description/backend_ui.png
|
||||||
|
:alt: Backend UI user
|
||||||
|
|||||||
BIN
base_group_backend/static/description/backend_ui.png
Normal file
BIN
base_group_backend/static/description/backend_ui.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
BIN
base_group_backend/static/description/dummy_app.png
Normal file
BIN
base_group_backend/static/description/dummy_app.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
@@ -367,9 +367,9 @@ ul.auto-toc {
|
|||||||
!! This file is generated by oca-gen-addon-readme !!
|
!! This file is generated by oca-gen-addon-readme !!
|
||||||
!! changes will be overwritten. !!
|
!! changes will be overwritten. !!
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
!! source digest: sha256:c7397d2b2e542e6918527090ab259d68f9d3b6a25386feccdc38002e51be4e31
|
!! source digest: sha256:879007f368a0b75ad5da7f5d3e3d1d6ae386da26d27df7fc4dec1a6865cf0233
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-backend/tree/16.0/base_group_backend"><img alt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_group_backend"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-backend&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-backend/tree/16.0/base_group_backend"><img alt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_group_backend"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-backend&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||||
<p>This module was written to extend the standard functionality regarding users
|
<p>This module was written to extend the standard functionality regarding users
|
||||||
and groups management by adding a new <cite>Backend user</cite> group that only gives access
|
and groups management by adding a new <cite>Backend user</cite> group that only gives access
|
||||||
to odoo backend (<cite>/web</cite>):</p>
|
to odoo backend (<cite>/web</cite>):</p>
|
||||||
@@ -393,6 +393,10 @@ that group (<cite>base.group_user</cite>) by default which makes hard to maintai
|
|||||||
* It sets the res_users.share to False for group_backend users. This allows those users to access the backend.
|
* It sets the res_users.share to False for group_backend users. This allows those users to access the backend.
|
||||||
* It sets the bare minimum permission in the ir.model.access.csv to display the backend</p>
|
* It sets the bare minimum permission in the ir.model.access.csv to display the backend</p>
|
||||||
<p>We suggest to use this module with its compagnon <cite>base_user_role</cite></p>
|
<p>We suggest to use this module with its compagnon <cite>base_user_role</cite></p>
|
||||||
|
<p>Here is an example where a backend ui user can only access and use the dummy app. No other application are available to this user. You may define your own application instead of the dummy one.</p>
|
||||||
|
<div class="figure">
|
||||||
|
<img alt="Dummy app for demo" src="https://raw.githubusercontent.com/OCA/server-backend/16.0/base_group_backend/static/description/dummy_app.png" />
|
||||||
|
</div>
|
||||||
<div class="section" id="limitations">
|
<div class="section" id="limitations">
|
||||||
<h1>Limitations</h1>
|
<h1>Limitations</h1>
|
||||||
<p>At the time of writing, Odoo uses <cite>res.users.share == False</cite> to give the
|
<p>At the time of writing, Odoo uses <cite>res.users.share == False</cite> to give the
|
||||||
@@ -408,13 +412,20 @@ that check if user is part of the <cite>base.group_user</cite> or <cite>share ==
|
|||||||
equivalent to grant <cite>group_user</cite>’s group everywhere <cite>has_group</cite>
|
equivalent to grant <cite>group_user</cite>’s group everywhere <cite>has_group</cite>
|
||||||
has been used.</p>
|
has been used.</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="admonition important">
|
||||||
|
<p class="first admonition-title">Important</p>
|
||||||
|
<p class="last">This is an alpha version, the data model and design can change at any time without warning.
|
||||||
|
Only for development or testing purpose, do not use in production.
|
||||||
|
<a class="reference external" href="https://odoo-community.org/page/development-status">More details on development status</a></p>
|
||||||
|
</div>
|
||||||
<p><strong>Table of contents</strong></p>
|
<p><strong>Table of contents</strong></p>
|
||||||
<div class="contents local topic" id="contents">
|
<div class="contents local topic" id="contents">
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
|
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
|
||||||
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
|
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
|
||||||
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
|
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-3">Known issues / Roadmap</a></li>
|
||||||
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a></li>
|
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-4">Bug Tracker</a></li>
|
||||||
|
<li><a class="reference internal" href="#credits" id="toc-entry-5">Credits</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="configuration">
|
<div class="section" id="configuration">
|
||||||
@@ -437,9 +448,18 @@ internal users and backend users.</p>
|
|||||||
<p>You get a users that is only able to access to the Odoo backend which you
|
<p>You get a users that is only able to access to the Odoo backend which you
|
||||||
can attach other groups that not implies other kind of users (<cite>portal</cite>,
|
can attach other groups that not implies other kind of users (<cite>portal</cite>,
|
||||||
<cite>internal users</cite>)</p>
|
<cite>internal users</cite>)</p>
|
||||||
|
<div class="figure">
|
||||||
|
<img alt="Backend UI user" src="https://raw.githubusercontent.com/OCA/server-backend/16.0/base_group_backend/static/description/backend_ui.png" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="known-issues-roadmap">
|
||||||
|
<h2><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h2>
|
||||||
|
<p>Current module depends on <cite>base_install_request</cite> instead of <cite>base</cite>.</p>
|
||||||
|
<p>We don’t need <cite>base_install_request</cite> auto install module but we must override it to set a security group on <cite>App</cite> menu.</p>
|
||||||
|
<p>This dependency should be remove if possible in future versions.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="bug-tracker">
|
<div class="section" id="bug-tracker">
|
||||||
<h2><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h2>
|
<h2><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h2>
|
||||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-backend/issues">GitHub Issues</a>.
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-backend/issues">GitHub Issues</a>.
|
||||||
In case of trouble, please check there if your issue has already been reported.
|
In case of trouble, please check there if your issue has already been reported.
|
||||||
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||||
@@ -447,7 +467,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|||||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="credits">
|
<div class="section" id="credits">
|
||||||
<h2><a class="toc-backref" href="#toc-entry-4">Credits</a></h2>
|
<h2><a class="toc-backref" href="#toc-entry-5">Credits</a></h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="authors">
|
<div class="section" id="authors">
|
||||||
@@ -471,8 +491,8 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|||||||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||||
mission is to support the collaborative development of Odoo features and
|
mission is to support the collaborative development of Odoo features and
|
||||||
promote its widespread use.</p>
|
promote its widespread use.</p>
|
||||||
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
|
||||||
<p><a class="reference external image-reference" href="https://github.com/oca"><img alt="oca" src="https://github.com/oca.png?size=40px" /></a></p>
|
<p><a class="reference external image-reference" href="https://github.com/FranzPoize"><img alt="FranzPoize" src="https://github.com/FranzPoize.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/bealdav"><img alt="bealdav" src="https://github.com/bealdav.png?size=40px" /></a></p>
|
||||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-backend/tree/16.0/base_group_backend">OCA/server-backend</a> project on GitHub.</p>
|
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-backend/tree/16.0/base_group_backend">OCA/server-backend</a> project on GitHub.</p>
|
||||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user