Welcome Guest, Not a member yet? Register   Sign In
Auth control by uri request
#9

[eluser]FlashUK[/eluser]
There is a check for this already, it checks for "/controller" together with the action as well. If the action doesn't exist as a record but "/controller" does, then it automatically overrides the call.

Code:
$this->obj->group_uri->findURI(array($_controller, $_action), $_group);

...

    function findURI($_uri=array(), $_group_id)
    {
        $this->db->where_in('request_uri', $_uri);
        $this->db->where('group_id', $_group_id);

        return $this->db->get($this->_table);
    }


Messages In This Thread
Auth control by uri request - by El Forum - 03-13-2008, 03:51 AM
Auth control by uri request - by El Forum - 03-13-2008, 05:53 AM
Auth control by uri request - by El Forum - 03-13-2008, 07:55 AM
Auth control by uri request - by El Forum - 03-13-2008, 08:03 AM
Auth control by uri request - by El Forum - 03-13-2008, 08:28 AM
Auth control by uri request - by El Forum - 03-13-2008, 08:53 AM
Auth control by uri request - by El Forum - 03-13-2008, 09:20 AM
Auth control by uri request - by El Forum - 03-13-2008, 09:24 AM
Auth control by uri request - by El Forum - 03-13-2008, 09:33 AM
Auth control by uri request - by El Forum - 04-16-2008, 03:27 AM
Auth control by uri request - by El Forum - 07-12-2008, 08:26 AM
Auth control by uri request - by El Forum - 07-12-2008, 04:07 PM
Auth control by uri request - by El Forum - 07-13-2008, 01:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB