Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit b89aaa8

Browse files
authored
Update scopes.md
1 parent b602d32 commit b89aaa8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/auth/scopes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ To create a scope, it must implement the interface `Adldap\Laravel\Scopes\ScopeI
1111

1212
For this example, we'll create a folder inside our `app` directory containing our scope named `Scopes`.
1313

14+
Of course, you can place these scopes wherever you desire, but in this example, our final scope path will be:
15+
16+
```
17+
../my-application/app/Scopes/AccountingScope.php
18+
```
19+
1420
With this scope, we want to only allow members of an Active Directory group named `Accouting`:
1521

1622

0 commit comments

Comments
 (0)