If you want to restrict access to your event, you can limit the read/view permissions to one or multiple space(s). Only users from these spaces and event editors will be able to see the event.
You can only choose spaces which you have access to.
If Space Privacy is installed, it is mandatory to limit the visibility of an event to at least one space.
(In the example in the picture above, the whole Washington space would have access to the event. Additionally, the user Kathrin Holmes would see the event, too, even if she is not part of the Washington space.)
You can change the visibility of an event in the Visibility tab during event creation/editing.
Start to type in the name of the space. A list will open. Select the space you want to restrict the event to.
Add additional editors for your event, if you wish. Editors can see all functions of an event (even those hidden for normal users). Editors can also edit and delete the event.
Notice regarding editors and event visibility
Editors override the visibility permissions! An editor can always see the event, even if it's located in a space to which the editor has no view permissions!
Individual permissions override space permissions!
If a user is entered as an editor or a participant, they will see the event, even if it's restricted to a space the user has no access to.
Once the user is removed from those roles, the event disappears for them again.
We have: SpaceA, SpaceB, UserA.
Your event is restricted to Space B.
User A only has view permissions for Space A, but not for Space B. This means that User A can't see the event.
Now you enter User A as a participant or an editor for the event. Suddenly, User A can see the event, even though they can't view the space the event is restricted to.
Anonymous users can only view events when they have access to your Confluence. These events need to be located in a space which is also accessible for anonymous users.
Enable anonymous access for Confluence
Navigate to Confluence administration → Users & Security → Global Permissions.
There, scroll down until you find the Anonymous Access setting.
Activate both options - Use Confluence and View User Profiles.
Both options have to be active - otherwise the Event Hub and the Event macros won't display any events to anonymous users.
Enable anonymous access for your space
Navigate to the space where your events will be stored in.
Navigate to Space Tools→Permissions.
Scroll down to the Anonymous Access section and click on Edit Permissions.
Grant anonymous users the View All permission (it's the first one). Don't forget to save your changes!
Restrict the visibility of your event
Create or edit an event.
In the Visibility field, enter the space to which you have allowed anonymous access.
Save your event. Anonymous users will be able to see it now.