Welcome Guest, Not a member yet? Register   Sign In
Sign ups and logins elegantly in both code and user experience
#4

Dream of Sleeping

I would suggest using a third party login library such as DX-Auth (Or any of the others that are good).  They have all the code in them to handle the permissions as well as some hooks to check for login.  

In previous applications with DX-Auth all you have to do it install the software and tables.  You can use the screens that are provided to do the user admin.  Then you can setup the uri permissions and place the permissions check in the constructor of each controller.

You can also use a hook to check permissions if you want.

The bulk of the hard work is done for you and you don't have to use the modal unless you really want to.

Hope this helps.
Reply


Messages In This Thread
RE: Sign ups and logins elegantly in both code and user experience - by rfulcher - 02-18-2015, 06:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB