Userlister macro ":groups=" option should not display all users when incorrectly specified or no group exists, and should accept ":group=" parameter

XMLWordPrintable

      The userlister macro "groups=" option is a great way to display a list of the users in a group.

      However, if you mistakenly type in the option, either by mistyping the syntax "groups=" or specifying a group that doesn't exist, confluence defaults to displaying the entire confluence-users group which in our case includes thousands of users and locks up the browser for a long time.

      Instead, it would be nice if the Confluence macro parser recognized an invalidly specified option and displayed an error message. Similarly, if there was no group, it could display an error message "no group by that name".

      In addition, it would be nice if the macro parser was more forgiving and recognized the singular "group=".

      For example, if I am trying to display the group: "test-users", the proper syntax is

      {userlister:groups=test-users}

      . However, saying "

      {userlister.group=test-users}

      " (i.e. group is singluar ) or "

      {userlister.groups=testX-users}

      (i.e. where the group testX-users doesn't exist), Confluence will default to displaying the entire confluence-users group.

      Thank you.

              Assignee:
              Andrew Lynch (Inactive)
              Reporter:
              Andy Schoenbach
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: