[ADD]GOLEM Activities : security access
This commit is contained in:
parent
6f0e175ca6
commit
a4e821c60b
@ -20,11 +20,13 @@
|
|||||||
'summary': 'Extends Odoo products for multi-activity',
|
'summary': 'Extends Odoo products for multi-activity',
|
||||||
'description': 'Multi-activities management',
|
'description': 'Multi-activities management',
|
||||||
'version': '0.1',
|
'version': '0.1',
|
||||||
'category': 'Non-profit management',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': True,
|
'application': True,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'depends': ['product', 'golem_base', 'golem_season'],
|
'depends': ['product', 'golem_base', 'golem_season'],
|
||||||
'data': ['data/golem_activity_data.xml', 'views/golem_activity_view.xml']
|
'data': ['security/ir.model.access.csv',
|
||||||
|
'data/golem_activity_data.xml',
|
||||||
|
'views/golem_activity_view.xml']
|
||||||
}
|
}
|
||||||
|
3
golem_activity/security/ir.model.access.csv
Normal file
3
golem_activity/security/ir.model.access.csv
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
|
access_golem_activity_user,Access GOLEM Activity User,model_golem_activity,golem_base.group_golem_user,1,1,1,0
|
||||||
|
access_golem_activity_manager,Access GOLEM Activity Manager,model_golem_activity,golem_base.group_golem_manager,1,1,1,1
|
|
@ -98,10 +98,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
<!-- Menus -->
|
<!-- Menus -->
|
||||||
<menuitem id="activity_menu" name="Activities"
|
<menuitem id="activity_menu" name="Activities"
|
||||||
parent="base.menu_association" sequence="5" />
|
parent="base.menu_association" sequence="5"
|
||||||
|
groups="golem_base.group_golem_user" />
|
||||||
<menuitem id="activity_list" name="List"
|
<menuitem id="activity_list" name="List"
|
||||||
parent="activity_menu" sequence="0"
|
groups="golem_base.group_golem_user"
|
||||||
action="action" />
|
parent="activity_menu" sequence="0" action="action" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user