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

allow basic templating in permission annotation matching parameters

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: 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

            • Assignee:
              Unassigned
              Reporter:
              romain.manni-bucau Romain Manni-Bucau

              Dates

              • Created:
                Updated:

                Time Tracking

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

                  Issue deployment