Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15581

Permission when editing post containing attachment of user without permissions in subforum

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 3.2.2
    • Permissions
    • Databaseserver: MySQL(i) 5.6.37-log
      PHP-versie: 7.1.13
      Forumversie: 3.2.2
      Chrome 64.0.3282.186 (Official Build) (64-bit)

      As admin cannot edit a post containing an attachment in a certain subforum when the user who posted the post has no longer access to that specific subforum.

       

      In my opinion this is a bug, since admins with every permission should overrule any old regular user's permisisons.

       

      Reproduce:

      1. login as admin
      2. make sure you have every permission on the admin account there is
      3. create user account X
      4. create private subforum Y
      5. give X permissions to view / post etc. in Y
      6. login with X
      7. post message with attachment in Y
      8. logout X
      9. login as admin
      10. remove X's permissions to view / post etc. in Y
      11. edit X's post in Y, e.g. change some text
      12. receive error message 

       

      This only occurs when the post contains an attachment.

       

      Error: parse_message->get_submitted_attachment_data()

            Unassigned Unassigned
            HenryKissinger42 HenryKissinger42 [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: