JSecurity Plugin

Taglib excpetions reference wrong tag name

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 0.4
  • Component/s: None
  • Labels:
    None
  • Environment:
    This occurs in version 0.4-SNAPSHOT which is not available from the 'affects versions' list.
  • Patch Submitted:
    Yes

Description

The tag names in the exception messages in checkPermission and checkRole are hard coded.
The methods are each called from more than one tag closure, so the wrong tag name will be referenced in some cases.

The attached patch fixes this. It's based on rev. 44243 of grails-app/taglib/JsecTagLib.groovy (current by time of writing) from SVN trunk.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: