Is it possible to add the default user session whos user name is "default guest" to a custom group (ex. Guest) to be able to make use of the Wakanda class permissions?
Or group methods like this?
currentSession().belongsTo('Guest') // true
Unfortunately a documented way to alter the permissions of an anonymous user is not available at the moment.
An alternative way consist into creating a custom "anonymousUser", add it the custom "Guest" group and modify the "Guest" group permissions attaching to it the desired restrictions.
This custom anonymousUser should be logged in at the application start/page view emulating the behavior of anonymous user.