logging out after deactivating current user
agendas will be checked for permission on view
checking permissions on views
was it missing?