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

MetaDataRoleAuthorizationStrategy.unauthorize() doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-rc1
    • 1.3.4, 1.4-M2
    • wicket-auth-roles
    • None

    Description

      Try this:
      MetaDataRoleAuthorizationStrategy.unauthorize(this, RENDER, "USER");
      The page will still be rendered for user with USER role.

      The following will work fine to prevent rendering by anybody:
      MetaDataRoleAuthorizationStrategy.authorize(this, RENDER, "");

      Attachments

        1. wicket-1152.patch
          7 kB
          Maurice Marrink

        Activity

          People

            mrmean Maurice Marrink
            dr_vedge David
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: