basic application-level login and logout #80

Closed
wants to merge 1 commit into
from

Projects

None yet

4 participants

@mblakele
Contributor

For issue #79.

To get started, init a project in the usual way. In deploy/build.properties or your environment properties, set default-user=${app-name}-user and authentication-method=application-level. In deploy/ml-config.xqy uncomment the role XML for ml.app-logged-in-role and the privilege XML for roxy-logged-in. Edit $ROXY-ROUTES in src/app/config/config.xqy to add protect elements for any pages you want to protect. Finally, bootstrap and deploy modules.

You can also manage ml.app-logged-in-role users through the new ml actions list_users, create_user, and delete_user.

@adamfowleruk

I also have an alternative for this that doesn't require extra user configuration or roles. Quite light weight, and I use it on all my Roxy projects now.

@dmcassel
Member

Adam, could you do a pull request on the dev branch?

@paxtonhare
Member

closing due to staleness

@paxtonhare paxtonhare closed this Nov 3, 2014
@adamfowleruk

I'm going to figure out how to do this in pure REST. No need for it in MVC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment