diff --git a/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/AppPermission.kt b/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/AppPermission.kt index d9a0e625..58355f75 100644 --- a/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/AppPermission.kt +++ b/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/AppPermission.kt @@ -1,5 +1,8 @@ package me.ahoo.cosec.api.permission +/** + * App permissions metadata. + */ interface AppPermission { val id: String val groups: List diff --git a/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/Permission.kt b/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/Permission.kt index fb10b28a..45aee0be 100644 --- a/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/Permission.kt +++ b/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/Permission.kt @@ -15,6 +15,9 @@ package me.ahoo.cosec.api.permission import me.ahoo.cosec.api.policy.Statement +/** + * Permission metadata. + */ interface Permission : Statement { val id: String val description: String diff --git a/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/PermissionGroup.kt b/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/PermissionGroup.kt index 7e1596d3..ab1a9071 100644 --- a/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/PermissionGroup.kt +++ b/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/PermissionGroup.kt @@ -15,6 +15,9 @@ package me.ahoo.cosec.api.permission import me.ahoo.cosec.api.Named +/** + * Permission group. + */ interface PermissionGroup : Named { override val name: String val description: String diff --git a/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/RolePermission.kt b/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/RolePermission.kt index 6aa38fcb..c9a89275 100644 --- a/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/RolePermission.kt +++ b/cosec-api/src/main/kotlin/me/ahoo/cosec/api/permission/RolePermission.kt @@ -13,6 +13,9 @@ package me.ahoo.cosec.api.permission +/** + * Role Permissions. + */ interface RolePermission { /** * role id