canAccess() and Clusters

Shouldnt i be able to use public static function canAccess(): bool { return false; } } to stop a user from accessing a cluster and its contents? Obviously testing in its simplest form. Right now it doesnt appear to do anything.
Solution:
ah, seems you have to put it on the individual pages within it and not simply on the cluster component itself.
Jump to solution
2 Replies
awcodes
awcodes4mo ago
Would the permissions be based on the cluster’s URLs and not the cluster itself?
Solution
Mark Chaney
Mark Chaney4mo ago
ah, seems you have to put it on the individual pages within it and not simply on the cluster component itself.
Want results from more Discord servers?
Add your server