rights system
This commit is contained in:
@@ -1074,7 +1074,7 @@ export default function Veranstaltungen() {
|
||||
const theme = useTheme();
|
||||
const isMobile = useMediaQuery(theme.breakpoints.down('sm'));
|
||||
|
||||
const canWrite = hasPermission('kalender:create_events');
|
||||
const canWrite = hasPermission('kalender:create');
|
||||
|
||||
const today = new Date();
|
||||
const [viewMonth, setViewMonth] = useState({ year: today.getFullYear(), month: today.getMonth() });
|
||||
|
||||
Reference in New Issue
Block a user