Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-417

allow basic templating in permission annotation matching parameters

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.0.0
    • None

    Description

      Here the idea:

         @RequiresPermissions("{name}:foo")
          public void retrieve(final @PermissionParam("name") String name) {
              ...
          }
      

      Attachments

        1. SHIRO-417.patch
          13 kB
          Romain Manni-Bucau
        2. SHIRO-417-2.patch
          15 kB
          Romain Manni-Bucau

        Activity

          People

            Unassigned Unassigned
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m