Add "switch-based" public access decorator
When applied, this makes a view publicly available *if* the settings.UNAUTHENTICATED_ACCESS switch is True; otherwise you must be authenticated. This will be useful to propagate to most other views to make this settings switch globally effective at some point.
Please register or sign in to comment