# Access Control

## Ownable Access Control

We have combined OpenZeppelin's Ownable contract with role based access mechanisms to make a simple, effective ownership model.

{% @github-files/github-code-block url="<https://github.com/Transient-Labs/tl-sol-tools/blob/main/src/access/OwnableAccessControl.sol>" %}

## Roles

TL Creator Contracts have two roles defined

<details>

<summary>ADMIN_ROLE</summary>

This role is able to mint tokens, add `APPROVED_MINT_CONTRACT` roles, propose/push token metadata updates, and add creator stories on behalf of the contract owner.

</details>

<details>

<summary>APPROVED_MINT_CONTRACT</summary>

This role is allowed to mint using the `externalMint` functions in `ERC721TL` and `ERC1155TL`.

</details>


---

# Agent Instructions: 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:

```
GET https://docs.transientlabs.xyz/tl-creator-contracts/common-features/access-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
