PHPfox-Official / phpfox-v4-issues

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

when set usergroup to approve photos they can still add photos in comments on Feed ? #2950

Closed spirogg closed 3 years ago

spirogg commented 3 years ago

Important

Please follow this template!


What's happened?

...

Steps to reproduce:

  1. go to admincp> apps> photos>set usergroups needs approval for upload photo
  2. then go to any app and make a comment and add a photo, then you can also comment on comment and add a photo as well
  3. You should not be able to add a comment - photo on feed if Photo needs approval from admin before show on website.

What's expected?

...

I would think that they can't upload any photos because they need approval first? this needs a fix please

Browsers and Devices tested

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

...all browsers

Server information

(Example: CentOS 7, php 7.1 apache)

...CentOS 7 php7.3

phpFox version

(Example: phpFox 4.6.0)

...4.8.1 fresh install

Screenshots

... comment photos comment photos1

harrison05 commented 3 years ago

Hi @spirogg

We will improve it. If users add a photo in a comment and setting "Photos must be approved first before they are displayed publicly?" is enabled, their comment will be marked as pending and it only shows after admin approved.

Regards.

spirogg commented 3 years ago

excellent work works now 4.8.2 comments app 4.1.5