Skip to content

Commit

Permalink
Add code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahoo-Wang committed Mar 20, 2023
1 parent 4481872 commit 76cba0a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package me.ahoo.cosec.api.permission

/**
* App permissions metadata.
*/
interface AppPermission {
val id: String
val groups: List<PermissionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

package me.ahoo.cosec.api.permission

/**
* Role Permissions.
*/
interface RolePermission {
/**
* role id
Expand Down

0 comments on commit 76cba0a

Please sign in to comment.