I have created a project template but users are unable to access this menu. They get a message: You do not have access to this area. Contact your site administrator to obtain access.
However, when I go to list the roles, project templates is not included among them. I added a relationship between project templates and security groups in Studio, and in the custom/metadata folder
<?php
$dictionary["am_projecttemplates_securitygroups_1"] = array (
'true_relationship_type' => 'many-to-many',
'relationships' =>
array (
'am_projecttemplates_securitygroups_1' =>
array (
'lhs_module' => 'SecurityGroups',
'lhs_table' => 'securitygroups',
'lhs_key' => 'id',
'rhs_module' => 'AM_ProjectTemplates',
'rhs_table' => 'am_projecttemplates',
'rhs_key' => 'id',
'join_table' => 'securitygroups_records',
'join_key_lhs' => 'securitygroup_id',
'join_key_rhs' => 'record_id',
'relationship_type' => 'many-to-many',
'relationship_role_column' => 'module',
'relationship_role_column_value' => 'AM_ProjectTemplates',
),
),
);
?>
Now in project templates I see Security Groups Management at the bottom and in that subpanel I have added the roles for the users who cannot access the templates but this still does not help. Can someone please advise ?
thank you