> For the complete documentation index, see [llms.txt](https://docs.fiveroster.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fiveroster.com/roster-creation/restricting-access-to-your-roster.md).

# Restricting access to your roster

The last thing you want to worry about is ex-players still having access to your department rosters. That's why with FiveRoster, we've made the process easier for both granting players access and also restricting outsiders.

### Only members in your Discord server can access your roster

Even though your roster link is publicly accessible, only members of your Discord server itself can access your rosters by default. This prevents ex-players/malicious actors from still having access to your information.

### Role based access to view your roster

Along with only server members being able to access your rosters you can go a step further and only allow members with specific Discord roles to view your rosters. This works well if you have multiple departments (LSPD, BCSO, SASP) as well as individual Discord roles for each department.

To do this, click on your server in the dashboard and then click on the "Edit" button to be taken to the roster editor page. From here, scroll down to the bottom right where you see a "Access Controls & Logs" section. From the first dropdown, you can add/remove Discord roles you want players to have before they can view your specific roster.

<figure><img src="/files/uKRC5ZNaF80AkoiTQpTM" alt="" width="563"><figcaption></figcaption></figure>

Once you've selected the roles you'd like, click on the "Save Changes" button at the bottom right of the page to update your roster.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fiveroster.com/roster-creation/restricting-access-to-your-roster.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
