-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 2581650 🚀
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -374,7 +374,7 @@ <h1 class="me-3">Permissions</h1> | |
<a href="#roles">Roles</a> | ||
</li> | ||
<li class="anchor-h2"> | ||
<a href="#admin-creation">Admin Creation</a> | ||
<a href="#creating-an-admin-user-via-console">Creating an Admin User via Console</a> | ||
</li> | ||
<li class="anchor-h2"> | ||
<a href="#add-your-own-permissions">Add Your Own Permissions</a> | ||
|
@@ -456,8 +456,8 @@ <h2><a href='#roles' id='roles'>Roles</a></h2> | |
<pre><code class="language-php">// Returns all users with this role. | ||
$role->getUsers(); | ||
</code></pre> | ||
<h2><a href='#admin-creation' id='admin-creation'>Admin Creation</a></h2> | ||
<p>To create a user with the maximum (at the time of creation) rights, run the following command:</p> | ||
<h2><a href='#creating-an-admin-user-via-console' id='creating-an-admin-user-via-console'>Creating an Admin User via Console</a></h2> | ||
<p>To create a user with the maximum (at the time of creation) permissions, run the following command:</p> | ||
<pre><code class="language-php">php artisan orchid:admin nickname [email protected] secretpassword | ||
</code></pre> | ||
<p>To give the existing user the maximum permissions, run with the <code>--id</code> option:</p> | ||
|