Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5143

Create an interface for the roles replacing the current Roles class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.6.0
    • 6.8.0
    • wicket-auth-roles
    • None

    Description

      Currently the roles in wicket are managed by a final class, Roles, that extends HashSet.
      In my current projects I have to manage permissions considering several factors that include the role, the creator and the type of data, and this must be done also when displaying tables with several rows. Having the possibility to create my own Roles class I can integrate my restrictions with wicket authorization and add some performance improvements (required in this case because the validation must be done at the field level).

      Attachments

        1. roles_changes.zip
          20 kB
          Nuno Jacinto

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            nunojacinto Nuno Jacinto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: