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

allow basic templating in permission annotation matching parameters

Agile BoardAttach filesAttach ScreenshotAdd voteVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            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

              Slack

                Issue deployment