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

add core.group_add_user_after event for group_user_add()

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.1.6
    • Group Management
    • None

      group_user_del() already has 'core.group_delete_user_before' event, though it has invalid functionality and should break removal process if any variable is changed to false by an extension. So extensions can deny to add a user to group.

      And logically we need 'core.group_delete_user_after' event for sure.

      But the main problem is that adding users to groups is not synced with extensions, so we need at least 'core.group_add_user_after' event triggered in group_user_add(), and for sure would be perfect to have 'core.group_add_user_before' which allows extensions to block adding users to a group.

            Marc Marc
            Dionisiy Dionisiy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: