The difference between allowUnauthenticated and addUnauthenticatedActions

I used plugin Quick Start - 2.x
But I do not understand the difference between the methods used.

allowUnauthenticated and addUnauthenticatedActions

It seems to me that both work the same.

Can you please explain that to me?

The former overwrites the list of allowed actions, and the latter appends to it.

1 Like