Uncomment permission rules
This commit is contained in:
parent
7dd067505e
commit
36019f2963
|
@ -165,17 +165,17 @@ export default function Users(props) {
|
||||||
getUsers()
|
getUsers()
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
// if (!props.user.isLoggedIn) { return <LoginPage user={props.user} />; }
|
if (!props.user.isLoggedIn) { return <LoginPage user={props.user} />; }
|
||||||
// if (!props.user.isManager) {
|
if (!props.user.isManager) {
|
||||||
// return (<>
|
return (<>
|
||||||
// <Appbar user={props.user} pageTitle="Admins" />
|
<Appbar user={props.user} pageTitle="Admins" />
|
||||||
// <Paper sx={{minHeight: "30vh", width:"90vw", margin:"10px auto", padding: "25px"}} component={Stack} direction="column" justifycontent="center">
|
<Paper sx={{minHeight: "30vh", width:"90vw", margin:"10px auto", padding: "25px"}} component={Stack} direction="column" justifycontent="center">
|
||||||
// <div align="center">
|
<div align="center">
|
||||||
// <Typography variant="h4">You do not have permission to view this page. If you believe this is incorrect, please contact a manager.</Typography>
|
<Typography variant="h4">You do not have permission to view this page. If you believe this is incorrect, please contact a manager.</Typography>
|
||||||
// </div>
|
</div>
|
||||||
// </Paper>
|
</Paper>
|
||||||
// </>);
|
</>);
|
||||||
// }
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Reference in New Issue