mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
feat: user edit functionality (managing permissions)
This commit is contained in:
@@ -2,8 +2,11 @@ import React from 'react';
|
||||
import { NextPage } from 'next';
|
||||
import SettingsLayout from '../../components/Settings/SettingsLayout';
|
||||
import SettingsMain from '../../components/Settings/SettingsMain';
|
||||
import { Permission } from '../../hooks/useUser';
|
||||
import useRouteGuard from '../../hooks/useRouteGuard';
|
||||
|
||||
const SettingsMainPage: NextPage = () => {
|
||||
useRouteGuard(Permission.MANAGE_USERS);
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<SettingsMain />
|
||||
|
||||
Reference in New Issue
Block a user