Skip to content

Commit

Permalink
enhancement: Relax naming conventions for resource kinds, principals …
Browse files Browse the repository at this point in the history
…and roles (#1762)

* enhancement!: Drop naming restrictions for resources, principals and roles

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Tests pass

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Sanitize old names

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Add tests

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Fix hurl tests

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Handle ID collisions

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Address CR comments

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Run generate

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Fix lint warnings

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Fix lint warnings

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

---------

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
  • Loading branch information
charithe committed Aug 25, 2023
1 parent b3c81ff commit 4d5d0c5
Show file tree
Hide file tree
Showing 90 changed files with 2,326 additions and 2,265 deletions.
861 changes: 421 additions & 440 deletions api/genpb/cerbos/engine/v1/engine.pb.go

Large diffs are not rendered by default.

32 changes: 2 additions & 30 deletions api/genpb/cerbos/engine/v1/engine.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

235 changes: 112 additions & 123 deletions api/genpb/cerbos/policy/v1/policy.pb.go

Large diffs are not rendered by default.

38 changes: 4 additions & 34 deletions api/genpb/cerbos/policy/v1/policy.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d5d0c5

Please sign in to comment.