[ADD]GOLEM Activities Sessions : security access
This commit is contained in:
parent
a4e821c60b
commit
3b1d5f1b0f
@ -20,12 +20,13 @@
|
||||
'summary': 'GOLEM Activities Session management',
|
||||
'description': ''' Non-profit french MJC activies session management ''',
|
||||
'version': '0.1',
|
||||
'category': 'Non-profit management',
|
||||
'category': 'GOLEM',
|
||||
'author': 'Fabien Bourgeois',
|
||||
'license': 'AGPL-3',
|
||||
'application': False,
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
'depends': ['product', 'mail', 'golem_activity', 'golem_member'],
|
||||
'data': ['views/golem_activity_view.xml', 'views/golem_member_view.xml']
|
||||
'data': ['security/ir.model.access.csv',
|
||||
'views/golem_activity_view.xml', 'views/golem_member_view.xml']
|
||||
}
|
||||
|
3
golem_activity_session/security/ir.model.access.csv
Normal file
3
golem_activity_session/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_session_user,Access GOLEM Activity Session User,model_golem_activity_session,golem_base.group_golem_user,1,1,1,1
|
||||
access_golem_activity_session_manager,Access GOLEM Activity Session Manager,model_golem_activity_session,golem_base.group_golem_manager,1,1,1,1
|
|
@ -188,9 +188,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<!-- Menus -->
|
||||
<menuitem id="session_menu_list" name="Activities sessions"
|
||||
parent="golem_activity.activity_menu" action="session_action_list"
|
||||
groups="golem_base.group_golem_user"
|
||||
sequence="10" />
|
||||
<menuitem id="activity_categ" name="Categories"
|
||||
parent="golem_activity.activity_menu" sequence="10"
|
||||
groups="golem_base.group_golem_manager"
|
||||
action="category_action" />
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user