Monday, July 4, 2011

Re: Problems setting permissios with Acl

Solved, using the alias instead the $group object.

2011/7/4 castarco <castarco@gmail.com>
Hello, I'm following the tutorial to create a permissions sytem with
Auth and Acl, and I have problems (again) when I try to set
permissions...

I get an error "Invalid node", the error page here: http://pastebin.com/SyyeXUDq
,
the code of the function... here: http://pastebin.com/GGmR2Zsf
the ACOs tree:

[1] controllers
 [2] Pages
   [3] display
   [4] add
   [5] edit
   [6] index
   [7] view
   [8] delete
 [9] ActivityPrograms
   [10] add
   [11] edit
   [12] index
   [13] view
   [14] delete
 [15] Agreements
   [16] add
   [17] edit
   [18] index
   [19] view
   [20] delete
 [21] AgreementPatterns
   [22] add
   [23] edit
   [24] index
   [25] view
   [26] delete
 [27] Companies
   [28] add
   [29] edit
   [30] index
   [31] view
   [32] delete
 [33] CompanyTutors
 [34] Degrees
   [35] add
   [36] edit
   [37] index
   [38] view
   [39] delete
 [40] Groups
   [41] index
   [42] view
   [43] add
   [44] edit
   [45] delete
 [46] Offers
   [47] add
   [48] edit
   [49] index
   [50] view
   [51] delete
 [52] OfferRequests
   [53] add
   [54] edit
   [55] index
   [56] view
   [57] delete
 [58] Students
   [59] add
   [60] edit
   [61] index
   [62] view
   [63] delete
 [64] Tutors
   [65] add
   [66] edit
   [67] index
   [68] view
   [69] delete
 [70] Users
   [71] index
   [72] login
   [73] logout
   [74] dashboard
   [75] view
   [76] add
   [77] edit
   [78] delete

Anyone that knows what I'm doing wrong? Thanks in advance :)

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php



--
- Per la llibertat del coneixement -
- Per la llibertat de la ment...       -

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: