Skip to content

Replace object type dropdown with free-text input#14

Merged
dborovcanin merged 1 commit into
mainfrom
permission-block-object-type-input
Jun 22, 2026
Merged

Replace object type dropdown with free-text input#14
dborovcanin merged 1 commit into
mainfrom
permission-block-object-type-input

Conversation

@ianmuchyri

Copy link
Copy Markdown
Contributor

Summary

  • Removes the fixed RESOURCE_TYPES and ENTITY_TYPES dropdown in the permission block creation form
  • Replaces it with a plain text input so users can type any resource type (e.g. resource:invoice)
  • Cleans up the now-unused objectTypeOptions helper and related constants

Test plan

  • Create a permission block with scope mode object_type or object, select resource as object kind, and type a custom type like resource:invoice
  • Verify the typed value is submitted correctly and appears in the review step
  • Verify the same flow works for entity kind

@dborovcanin dborovcanin merged commit 2107981 into main Jun 22, 2026
3 checks passed
@dborovcanin dborovcanin deleted the permission-block-object-type-input branch June 22, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants