quackscape/assets/js/userarea.js
Kumi c463de0ada
feat: add user permissions management
Implemented user permissions management functionality across the system,
enhancing control over category access and operations. This includes a
new DataTable in the user area for permissions, updated model relations
with explicit related names for better query readability, and a
migration to enforce these changes at the database level. Additionally,
the UI now features options for ending category membership, deleting
categories, inviting users, and transferring ownership based on user
roles and permissions. This comprehensive update aims at providing more
granular access control and operational flexibility for category owners
and system administrators.
2024-03-16 11:07:58 +01:00

9 lines
No EOL
294 B
JavaScript

import '../scss/frontend.scss';
import '../css/userarea.css';
import { Tab } from 'bootstrap';
import DataTable from 'datatables.net-dt';
let mediaTable = new DataTable('#mediaTable');
let scenesTable = new DataTable('#scenesTable');
let permissionsTable = new DataTable('#permissionsTable');