Griffon
  1. Griffon
  2. GRIFFON-613

Ability to intercept and decorate controller actions

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: rt
    • Labels:
      None
    • Number of attachments :
      0

      Description

      There's some functionality tied to controller actions that should be executed before and/or after an action is invoked, for example:

      • opening a Transaction before execution, committing said transaction if action was successfully executed; rollback on exception.
      • check security access (can logged-in user call this action?)
      • transform argument values

        Activity

        Show
        Andres Almiray added a comment - Fixed with https://github.com/griffon/griffon/commit/bdbe23a5c0b9c7fd906c6e62d4dbc96f0ac8759f https://github.com/griffon/griffon/commit/881636075e8a5f9c7e1a5c6bcb8012cbac424363 https://github.com/griffon/griffon/commit/546bb72ffcd886389c0137cf60ef8237e2d5e080

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Andres Almiray
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: