mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-09-13 14:59:09 +00:00
Adds permission subcommand to get a list of permissions of a resource
This commit is contained in:
parent
c454e733cf
commit
9b2d47fecd
2 changed files with 116 additions and 0 deletions
|
@ -13,3 +13,14 @@ type ResourceJsonOutput struct {
|
|||
CreatedTimestamp *time.Time `json:"created_timestamp,omitempty"`
|
||||
ModifiedTimestamp *time.Time `json:"modified_timestamp,omitempty"`
|
||||
}
|
||||
|
||||
type PermissionJsonOutput struct {
|
||||
ID *string `json:"id,omitempty"`
|
||||
Aco *string `json:"aco,omitempty"`
|
||||
AcoForeignKey *string `json:"aco_foreign_key,omitempty"`
|
||||
Aro *string `json:"aro,omitempty"`
|
||||
AroForeignKey *string `json:"aro_foreign_key,omitempty"`
|
||||
Type *int `json:"type,omitempty"`
|
||||
CreatedTimestamp *time.Time `json:"created_timestamp,omitempty"`
|
||||
ModifiedTimestamp *time.Time `json:"modified_timestamp,omitempty"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue