You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,18 +112,20 @@ When `routes.enabled` is `false`, the package registers no HTTP routes — wire
112
112
113
113
### Authorization gates
114
114
115
-
modman defines two gates with fail-closed defaults:
115
+
modman defines three gates with fail-closed defaults:
116
116
117
+
-`modman.view` — checked before `GET /modman/reports/{report}`
117
118
-`modman.resolve` — checked before `POST /modman/reports/{report}/resolve`
118
119
-`modman.reopen` — checked before `POST /modman/reports/{report}/reopen`
119
120
120
-
Both deny by default (every request returns 403) until the host overrides them. Register replacements in any service provider that boots before `ModmanServiceProvider`, or simply at runtime — `Gate::has()` keeps the package from clobbering your definition:
121
+
All three deny by default (every request returns 403) until the host overrides them. Register replacements in any service provider that boots before `ModmanServiceProvider`, or simply at runtime — `Gate::has()` keeps the package from clobbering your definition:
0 commit comments