You want to ensure a macro is only available to a specific user role. Where do you configure this restriction?
Permissions are managed at the object level via the Splunk Web interface or the local/metadata files.
Why this answer
Permissions for macros are managed through the Splunk Web 'Permissions' link under Settings > Advanced Search > Search Macros.