Page 129 of 211,266, showing 20 records out of 4,225,310 total, starting on record 2,561, ending on 2,580
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 07:43 | lqdice__ | right |
# | Aug 7th 2008, 07:43 | lqdice__ | thats why i didnt think ACL would be right for this |
# | Aug 7th 2008, 07:43 | lqdice__ | what I could possibly do is just have a Folder hasMany Folders and hasMany Files |
# | Aug 7th 2008, 07:43 | alkemann | so if a user only have acces to that file, he doesnt have access to the /programs folder and shouldnt even know it exists (imho) |
# | Aug 7th 2008, 07:44 | alkemann | lqdice__: dont differentiate between files and folders |
# | Aug 7th 2008, 07:44 | alkemann | Node hasMany Node . and a node can be a file or a folder (or even both) |
# | Aug 7th 2008, 07:44 | lqdice__ | alkemann: he has access to the Programs folder.. but he will only see the /SomeProgram/Version 2.0/Windows_Install.exe in his tree |
# | Aug 7th 2008, 07:44 | lqdice__ | alkemann: they have different meta data though |
# | Aug 7th 2008, 07:45 | alkemann | 2 behaviors |
# | Aug 7th 2008, 07:45 | lqdice__ | one if you click it d/l's the other just opens it up |
# | Aug 7th 2008, 07:45 | alkemann | 1 mode |
# | Aug 7th 2008, 07:45 | alkemann | model* |
# | Aug 7th 2008, 07:45 | lqdice__ | thats not a big deal im not worried about that.. im just wondering if doing node hasMany nodes is too heavy |
# | Aug 7th 2008, 07:45 | lqdice__ | thats why i was thinking tree behaviour might be better |
# | Aug 7th 2008, 07:45 | alkemann | better than folders hasmany folders and folders hasMany files imho |
# | Aug 7th 2008, 07:46 | lqdice__ | i mean .. nodes hasmany nodes VS tree behaviour |
# | Aug 7th 2008, 07:46 | alkemann | lqdice__: thats what i mean Node actsAs Tree and have 2 behaviors for the node for file vs folder |
# | Aug 7th 2008, 07:47 | alkemann | or u can have Folder actsAs Tree, Folder hasMany Files and Files actsAs Ordered (my behavior) |
# | Aug 7th 2008, 07:47 | lqdice__ | alkemann: do you think w/ this method it will be easy enough to enumerate the entire tree to display? |
# | Aug 7th 2008, 07:48 | sokar007 | hi, in cakephp manual http://book.cakephp.org/view/303/file-fields $this->data['Documents']['submittedfile'] is array with few few fields. i tried it and i have only filename - why ? |