Welcome Guest, Not a member yet? Register   Sign In
flexi auth - A user authentication library for CodeIgniter

[eluser]haseydesign[/eluser]
@devha

The problem you highlight was a known issue in earlier versions of the library, but this should since have fixed from happening when all references to table columns within the library models were updated to prepend the table name to each column name (e.g. uacc_id became user_accounts.uacc_id).

Are you using a recent copy of the library?

-------------------------------------------------------

@aresproject

If you are asking how you set a menu to show/hide depending on a users privilege, then you're right with using the is_privileged() function.

As for dynamically showing the menu, this sounds more like a CSS and Javascript task.
Typically I would create a Javascript event attached to a html class, that when triggered would show/hide the element with the corresponding class.

You then only include the html class within the menu for users that are identified as having the privilege defined via the is_privileged() function.

Is that what you were asking?


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 05-28-2013, 06:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB