Skip to content

Releases: doefom/restrict

v0.5.4

Choose a tag to compare

@doefom doefom released this 02 Jun 07:22

What's changed

  • Make shouldApplyRestriction function in Restrict.php more concise

v0.5.3

Choose a tag to compare

@doefom doefom released this 01 Jun 08:32

What's changed

  • Remove Restrict facade and make it a static function instead
  • Use Statamic::isCpRoute() to determine if current route is a CP route
  • Update README

Update README

Choose a tag to compare

@doefom doefom released this 30 May 13:38
v0.5.2

Update README.md

Update README

Choose a tag to compare

@doefom doefom released this 30 May 13:31
v0.5.1

Update README.md

Introduce v0.5.x

Choose a tag to compare

@doefom doefom released this 30 May 13:13

What's new

  • Using a custom EntryPolicy to define custom logic instead of the Restrict facade.

Update Project Description

Choose a tag to compare

@doefom doefom released this 27 May 17:56
v0.4.2

Update description in composer.json

Update README

Choose a tag to compare

@doefom doefom released this 27 May 17:07
v0.4.1

Update README.md

Custom Restriction Logic

Choose a tag to compare

@doefom doefom released this 27 May 16:56

What's new

  • New Restrict facade that let's you define your own restriction logic

What's changed

  • No more predefined permissions to view other authors' entries

Support Statamic v5

Choose a tag to compare

@doefom doefom released this 18 May 07:22

What's new

  • Add support for Statamic v5

v0.2.4

Choose a tag to compare

@doefom doefom released this 04 May 14:46

What's changed

  • Determine authorization by entry's blueprint instead of entry's content.