mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-27 09:01:58 -06:00
Added ACLs for User Management Preventing Users from Making Changes, Only Admins
This commit is contained in:
@@ -30,6 +30,26 @@ export function CloseAllDialog({ open, onClose, onConfirm }) {
|
||||
);
|
||||
}
|
||||
|
||||
export function NotAuthorizedDialog({ open, onClose }) {
|
||||
return (
|
||||
<Dialog
|
||||
open={open}
|
||||
onClose={onClose}
|
||||
PaperProps={{ sx: { bgcolor: "#121212", color: "#fff" } }}
|
||||
>
|
||||
<DialogTitle>Not Authorized</DialogTitle>
|
||||
<DialogContent>
|
||||
<DialogContentText sx={{ color: "#ccc" }}>
|
||||
You are not authorized to access this section.
|
||||
</DialogContentText>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
<Button onClick={onClose} sx={{ color: "#58a6ff" }}>OK</Button>
|
||||
</DialogActions>
|
||||
</Dialog>
|
||||
);
|
||||
}
|
||||
|
||||
export function CreditsDialog({ open, onClose }) {
|
||||
return (
|
||||
<Dialog open={open} onClose={onClose} PaperProps={{ sx: { bgcolor: "#121212", color: "#fff" } }}>
|
||||
|
||||
Reference in New Issue
Block a user