Skip to content

Ability to specify comments for scopes when going JSON -> Cedar #660

@max2me

Description

@max2me

Category

User level API features/changes

Describe the feature you'd like to request

I would like to have ability to provide comments for policy scopes like these:

permit(
    principal in UserGroup::"1234-abcde-fghijkl-5678", // "Finance"
    action,
    resource in Category::"a83b5298-0633-460f-ad0b-311ff23acd2b" // Critical resources
);

Describe alternatives you've considered

  • Including comments like this into annotations (pollutes annotations and leaves valuable info further away from the context)
  • Not including human-friendly names
  • Using human-friendly names instead of unique non-recoverably IDs

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestThis issue requets a substantial new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions