Author Topic: permissions and loop holes  (Read 4220 times)

0 Members and 1 Guest are viewing this topic.

Offline stevebor1

  • Newbie
  • *
  • Posts: 11
    • View Profile
permissions and loop holes
« on: March 21, 2005, 10:22:59 PM »
so i set all my categorys and images to "registered users only"
no categories show now if your not registered, *but they "guests" can still access top images and new images, or even click on a registered users and view all the photos. whats up with that?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: permissions and loop holes
« Reply #1 on: March 21, 2005, 10:50:42 PM »
is that with fresh 4images installation? o.O
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline stevebor1

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: permissions and loop holes
« Reply #2 on: March 21, 2005, 11:18:16 PM »
i ran the upgrade from 1.7 to 1.7.1
my site http://www.notcamerashy.com

Offline stevebor1

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: permissions and loop holes
« Reply #3 on: March 21, 2005, 11:22:17 PM »
figured it out, for some reason i had to set the sub-subcategory for one of the subcategories to restrict view of the category. strange why was that, when i dont have to set the sub category to registered user?

Vacation-   View Category - registered user                        -no photos
           View Image     - registered user
   
           >Mardi Gras-   View Category - All                           -no photos
                          View Image     - registered user
   
                    >Boojie Cam- View Category - All                   -photos
                                  View Image     - registered user

I guess it showed it cause there are pics in the boojie cam and not in the mardi gras folder

switched it to:


Vacation-   View Category - registered user                        -no photos
           View Image     - registered user
   
           >Mardi Gras-   View Category - All                           -no photos
                          View Image     - registered user
   
                    >Boojie Cam- View Category - registered user  -photos
                                       View Image     - registered user


I figured if you set the permission to the top folder, it wuld restrict access to anything inside it.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: permissions and loop holes
« Reply #4 on: March 22, 2005, 03:40:08 AM »
actualy this is not supposed to be like that, unless u changed the code that would ignore permissions of the parent category (I've posted the code on old forum long time ago, now its gone)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)