1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-19 12:59:36 +02:00

Add Admin Panel guide to documentation

This commit is contained in:
Sean Morley 2024-12-04 12:43:26 -05:00
parent f0603f7dbd
commit ca66b85838
2 changed files with 15 additions and 0 deletions

View file

@ -113,6 +113,10 @@ export default defineConfig({
text: "Guides", text: "Guides",
collapsed: false, collapsed: false,
items: [ items: [
{
text: "Admin Panel",
link: "/docs/guides/admin_panel",
},
{ {
text: "v0.7.1 Migration Guide", text: "v0.7.1 Migration Guide",
link: "/docs/guides/v0-7-1_migration", link: "/docs/guides/v0-7-1_migration",

View file

@ -0,0 +1,11 @@
# AdventureLog Admin Panel
The AdventureLog Admin Panel, powered by Django, is a web-based interface that allows administrators to manage objects in the AdventureLog database. The Admin Panel is accessible at the `/admin` endpoint of the AdventureLog server. Example: `https://al-server.yourdomain.com/admin`.
Features of the Admin Panel include:
- **User Management**: Administrators can view and manage user accounts, including creating new users, updating user information, and deleting users.
- **Adventure Management**: Administrators can view and manage adventures, including creating new adventures, updating adventure information, and deleting adventures.
- **Security**: The Admin Panel enforces access control to ensure that only authorized administrators can access and manage the database. This means that only users with the `is_staff` flag set to `True` can access the Admin Panel.
Note: the `CSRF_TRUSTED_ORIGINS` setting in your `docker-compose.yml` file must include the domain of the server. For example, if your server is hosted at `https://al-server.yourdomain.com`, you should add `al-server.yourdomain.com` to the `CSRF_TRUSTED_ORIGINS` setting.