> For the complete documentation index, see [llms.txt](https://docs.rafflex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rafflex.io/managing-your-site/customers/staff-accounts-and-access.md).

# Staff Accounts and Access

Give a team member access to your admin panel, choose which areas they can see with restrictions, and remove their access when they leave.

***

If someone helps you run your site, such as a business partner, a customer support assistant or a social media manager, you can give them their own login to your admin panel. You can also restrict what they see, so they only have access to the areas they need.

***

### How Admin Access Works

On Rafflex there is no separate type of staff account. A staff member is a normal account on your website with admin access switched on. This means:

* They log in to the admin panel with the **same email address and password** they use on your website.
* They appear in your **Users** list alongside your customers.
* You can switch their admin access on or off at any time without deleting their account.

{% hint style="success" %}
**Give every person their own login.** Never share your own email address and password with a team member. Separate accounts let you set restrictions for each person and remove someone's access without changing your own password.
{% endhint %}

***

### Giving Someone Admin Access

{% stepper %}
{% step %}

### Make sure they have an account

Ask the team member to register on your website using the email address they want to use for work. Alternatively, create the account for them: in your admin panel, under **Management**, click **Users**, then click **New user**, fill in their **Name**, **Last name**, **Email** and a **Password**, and click **Create**.
{% endstep %}

{% step %}

### Open their account

In the left-hand menu, under **Management**, click **Users**. Search for the team member by name or email address, then click **Edit** on their row.
{% endstep %}

{% step %}

### Switch on admin access

Find the **Admin Settings** section and switch on **Is admin**.
{% endstep %}

{% step %}

### Choose any restrictions

In the **Restrictions** box, choose the areas you want to hide from this person. You can pick more than one, or leave it empty to give them full access. The options are explained in the next section.
{% endstep %}

{% step %}

### Save

Click **Save changes**. The team member can now log in to the admin panel.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Cannot see the Admin Settings section?** Only an admin with **no restrictions** can see it. If your own account has any restrictions, ask the site owner (or another admin with full access) to make the change for you.
{% endhint %}

***

### Choosing Restrictions

The **Restrictions** box sits under **Is admin** in the **Admin Settings** section. Its helper text reads: "This will restrict the admin user access to certain features." Each restriction hides one area of the admin panel from that person.

| Restriction                    | What it hides                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Restrict Financials**        | The **Analytics** page, and with it **Download Reports** and every report on the Downloads page. The stats row at the top of the dashboard (including **Sales**, **New users** and **New orders**) and the **Today's Sales** chart. The **Value Held** total and the order **Total** column on the Pending Tickets page. The **Turnover** column in your competitions list, and the sales stats at the top of each competition's page (**Revenue**, **Credit Used**, **Coupons Used** and **Tickets Sold**). The **What people are choosing** panel and its share card on [Prize Choice](https://docs.rafflex.io/create-your-first-raffle/prize-choice.md#what-people-are-choosing) competitions. A customer's **Total Spend** and the **Spend & payouts** link on the **Users** list. |
| **Restrict Wallets**           | Each customer's wallet: the balances in the **Wallet** column of **Users** and in **Account Stats** on their account page, the **Wallet Transactions** and **Withdrawals** tabs, the **Wallet** button for adding or removing credit, and **Set Affiliate Reward**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Restrict Users**             | **Users**, including each customer's account page. The customer search on Free Entry and the **Interventions** page are hidden too, because they name customers.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Restrict Reports & Exports** | The Downloads page and every report and export on it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Restrict Payouts**           | Withdrawals, payout logs and referral approvals. They also cannot mark a prize as paid, choose a winner's prize or archive a leaderboard period.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Restrict Winners**           | Instant winners, draw winners and leaderboard winners, and the **Draw Winners** button on your website. Running a live draw also needs payouts, so **Restrict Payouts** hides that button too.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Restrict Settings**          | **Settings**, including every settings tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Restrict Orders**            | **Orders**, including the **Orders** tab on each customer's account page.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **Restrict Coupons**           | **Coupons**, so they cannot view, create, edit or delete discount codes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Restrict Campaigns**         | **Campaigns**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |

{% hint style="info" %}
**Restrict Financials** covers your business totals: turnover, sales figures and reports. It does not stop someone looking after a customer's wallet. To stop them seeing balances or adding and removing credit, tick **Restrict Wallets**.
{% endhint %}

{% hint style="warning" %}
Restrictions keep each person's admin panel focused on the work they do. They are not a replacement for trust, so only give admin access to people you trust with your customers' information and your business.
{% endhint %}

#### Example set ups

* **Customer support assistant**: tick **Restrict Financials**, **Restrict Settings** and **Restrict Coupons**. They can still look up customers, help with their accounts and add or remove site credit, but cannot see your sales figures and reports, or change how your site works. Tick **Restrict Wallets** too if they should not touch credit.
* **Marketing helper**: tick **Restrict Financials**, **Restrict Settings** and **Restrict Orders**. Leave coupons unrestricted so they can create discount codes for campaigns.
* **Business partner**: leave **Restrictions** empty for full access.

***

### How Staff Log In

1. Open your website address with **/admin** on the end, for example yourrafflesite.com/admin.
2. Enter the **Email address** and **Password** for their account.
3. Click **Sign in**.

If a staff member forgets their password, they reset it from your website's login page using **Forgot password?**. The new password works for the admin panel too. See [Reset Password](https://docs.rafflex.io/managing-your-site/customers/reset-password.md).

{% hint style="info" %}
Because admin accounts are also normal website accounts, staff can browse your site while logged in. Anyone with admin access can also view your site while it is hidden behind a site password, so they can help you check things before launch.
{% endhint %}

***

### Things to Know

* **Admins cannot delete their own account.** The **Delete** option does not appear when you open your own record in **Users**, and admins cannot use the account deletion option in **My Account** on your website. This stops you from locking yourself out by accident.
* **Keep at least one admin with full access.** Restricted admins cannot see the **Admin Settings** section, so they cannot change anyone's access, including their own. Make sure you (or someone you trust) always has an account with no restrictions.
* **Lost admin access?** If you can log in to your website but the admin panel refuses you (for example with a 403 or Forbidden page), the account you are using does not have admin access. Check you are logged in with the right email address. Then ask an admin with full access to open your account in **Users** and switch **Is admin** back on. If nobody can get into the admin panel, contact Rafflex support.
* **You can change your own login email.** Open your own record in **Users**, change **Email** and click **Save changes**. From then on, log in with the new address. Only an admin with no restrictions can change another admin's email address or password.
* **Changes take effect the next time they load a page.** If you add a restriction while a staff member is logged in, the hidden area disappears as soon as they move to another page.

***

### Removing Someone's Access

When a team member leaves, or no longer needs the admin panel:

1. In the left-hand menu, under **Management**, click **Users**.
2. Find the person and click **Edit**.
3. In the **Admin Settings** section, switch off **Is admin**.
4. Click **Save changes**.

They can no longer log in to the admin panel. Their account stays on your website as a normal customer account, so any orders or tickets they have are not affected.

If you also want to close their account completely, open the **Actions** menu on their account page and choose **Delete**. See [Customers](https://docs.rafflex.io/managing-your-site/customers.md#delete) for what deleting does.

{% hint style="warning" %}
If the person may know another admin's password, for example because a login was shared in the past, change that password as well. You can set a new one from the **Password** field on that account. See [Reset Password](https://docs.rafflex.io/managing-your-site/customers/reset-password.md).
{% endhint %}
