Skip to content

Commit

Permalink
#785 Add GrantAccess
Browse files Browse the repository at this point in the history
  • Loading branch information
schoicsiro committed Sep 26, 2023
1 parent ac05c49 commit 920544e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/groovy/au/org/ala/profile/security/GrantAccess.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package au.org.ala.profile.security

import java.lang.annotation.*

/**
* Annotation to check that a valid collection-specific access token has been provided.
*/
@Target([ElementType.TYPE, ElementType.METHOD])
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface GrantAccess {

}

0 comments on commit 920544e

Please sign in to comment.