Hi,
Please bear with me as I am new to PHP and CakePHP.
I have implemented Authentication using the OthAuth component (http://
bakery.cakephp.org/articles/view/othauth-component-v0-5-4-5).

In the groups table I have created 1, administrators ; 2 orders ; 3
stock.
In the permissions table I have created 1, *;  2, order ; 3, stock.
Hence Group 1 has access to everything. Orders Group has permissions
on controller "order", and Stock Group has permissions on the Stock
controller. These have been assigned in the group permissions table.

Group 1 administrators can access everything (including the home
page). However Groups 2 and 3 (Orders and Stock) CAN NOT ACCESS THE
HOME PAGE!!!!????

How do I set this up at the home page is defined in app/views/pages/
home.thtml.

There is NO Controller for the HOME PAGE so how do I assign ALL Groups
permission(s) to access the home page in the permissions table or is
there some other mechanism.

Other than the fact that ALL groups Except the administrators
(permissions set to "*") access their own area's fine BUT CAN NOT SEE
the HOME page!!!  HELP!

And how do I set up a nice "Sorry you are not permitted to see this
page" other than a flash message and then re-direct to the home page
that hopefully ALL will be able to see.

Other than this it all appears to be fine I am missing something that
I do not understand.

Thank you all for your help in advance.

SteveScan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to