From 920544e89a820002d6fc3710dd2ef643de60a25c Mon Sep 17 00:00:00 2001 From: Steven Choi Date: Tue, 26 Sep 2023 13:07:57 +1000 Subject: [PATCH] #785 Add GrantAccess --- .../au/org/ala/profile/security/GrantAccess.groovy | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/main/groovy/au/org/ala/profile/security/GrantAccess.groovy diff --git a/src/main/groovy/au/org/ala/profile/security/GrantAccess.groovy b/src/main/groovy/au/org/ala/profile/security/GrantAccess.groovy new file mode 100644 index 00000000..b32eb50a --- /dev/null +++ b/src/main/groovy/au/org/ala/profile/security/GrantAccess.groovy @@ -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 { + +} \ No newline at end of file