7 lines
361 B
Plaintext
7 lines
361 B
Plaintext
{%- set snake_name = name|snake -%}
|
|
{%- set id = "access_%s_%s"|format(snake_name, snake_name) -%}
|
|
{%- set name = "%s.%s"|format(snake_name, snake_name) -%}
|
|
{%- set model_id = "model_%s_%s"|format(snake_name, snake_name) -%}
|
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
|
{{ id }},{{ name }},{{ model_id }},base.group_user,1,1,1,1
|