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
+45-40
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ You can add a user to a global group to grant them access to all teams with the
14
14
> The documentation for this package is currently being written. For now, please refer to this readme for information on the functionality and usage of the package.
15
15
16
16
-[Requirements](#requirements)
17
+
-[Schema](#schema)
17
18
-[Installation](#installation)
18
19
-[Actions](#actions)
19
20
-[Teams](#teams)
@@ -39,6 +40,10 @@ Requirements
39
40
-------------------------------------------
40
41
`PHP >= 8.1` and `Laravel 8.x or higher`
41
42
43
+
Schema
44
+
-------------------------------------------
45
+

46
+
42
47
Installation
43
48
-------------------------------------------
44
49
@@ -100,49 +105,49 @@ $team->users()
100
105
$team->allUsers()
101
106
102
107
// Determine if the given user is a team member...
> Team groups work together with abilities, so you should use ability checking methods to determine if users have specific access rights within groups.
Middleware `ability` is used to check the user's rights within the team group during requests to your application
@@ -322,7 +327,7 @@ To ensure that incoming requests initiated by a team member can be executed by t
322
327
> In most cases, it's unnecessary to check a user's role directly. Instead, focus on verifying specific granular permissions. Roles primarily serve as a way to group granular permissions for organizational purposes. Typically, you'll execute calls to this method within your application's [authorization policies](https://laravel.com/docs/authorization#creating-policies).
This example demonstrates how to check if a user within a team has permission to update a server. Adjust the parameters according to your application's specific requirements and use cases.
@@ -340,23 +345,23 @@ Simply pass the name of the ability, and the package will create it if it's not
340
345
To add the ability to edit an article within a team for a specific user, you need to provide the entity, such as the article object, and the team object:
If you need to forbid a user from having a certain ability for instance, if the role abilities allow this ability, you can do so using the following method:
{{__('We are thrilled to have you with us! Follow the instructions below to join our team.') }}
9
+
</p>
10
+
</div>
2
11
3
-
{{__('If you do not have an account, you may create one by clicking the button below. After creating an account, you may click the invitation acceptance button in this email to accept the team invitation:') }}
0 commit comments