You can select whether users can open or edit a query. For specific security rights, clicking Assign Permissions or Advanced Permissions will let you assign permissions by system role. Only the users with the selected system roles will be able to open or edit that particular query. 
  1. On Analysis, click Information Library
  2. Click on the name of your query
  3. On the left hand side under Tasks, click Assign Permissions
  4. Select either the Run Query or Edit Query tab depending on what you would like to assign permissions to
  5. Click Selected Roles
  6. Click on a system role and click Grant
  7. Repeat this for every system role that you would like to have access to this and Save