PHPfox-Official / phpfox-v4-issues

phpFox Public Bug Tracker
https://phpfox.com
30 stars 21 forks source link

when you set a usergroup to Photos must be approved first before they are displayed publicly? user can still get photo views by public #2945

Closed spirogg closed 3 years ago

spirogg commented 3 years ago

Important

Please follow this template!


What's happened?

... when in the admincp you set a UserGroup to: Photos must be approved first before they are displayed publicly? the UserGroup can still get the photo to be viewed by the public in feed - cover photo and profile picture by selecting: make cover photo and make profile picture. So these 2 features should not be allowed when you select to approve photos before displayed publicly.

Steps to reproduce:

  1. go to admincp> manage usergroups
  2. then select usergroup: regestered user and photos
  3. then find Photos must be approved first before they are displayed publicly? and select yes (then save and clear cache)
  4. Login as registered user and go to photos> then upload a photo
  5. then go to photos> my photos
  6. then select the photo that is pending approval
  7. click on the 3 dots on the right of website and will show you can: download - make cover photo - make profile photo if you select: photo cover it shows in feed and in cover area ( publicly ) and if you select: make profile photo it shows in feed and user profile area ( publicly)
    • so it's not working as it should.

What's expected?

... should not allow any photo to be visible publicly in any area when admincp usergroup is set to: Photos must be approved first before they are displayed publicly

Browsers and Devices tested

(Example: Chrome on iPhone X, Safari on Macbook, Miscrosoft Edge on Windown 10, Firefox on Ubuntu 16.04, ...)

...chrome

Server information

(Example: CentOS 7, php 7.1 apache)

4.8.1 fresh install

phpFox version

(Example: phpFox 4.6.0) 4.8.1 ...

Screenshots

... Capture Capture1 Capture2 Capture3 Capture4 Capture5 Capture6 Capture7 Capture8 Capture9