-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
link permission tree page on relationships page
- Loading branch information
Showing
5 changed files
with
13 additions
and
12 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
2 changes: 1 addition & 1 deletion
2
OryAdmin/Components/Pages/Permissions/Relationships/Create.razor
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@page "/permissions/{NamespaceName}/relationships" | ||
@page "/permissions/{NamespaceName}" | ||
@attribute [StreamRendering] | ||
@attribute [RenderModeInteractiveServer] | ||
|
||
|
@@ -7,7 +7,7 @@ | |
<h1 class="title">Relationships for @NamespaceName</h1> | ||
<div class="buttons"> | ||
<a class="button is-dark" href="permissions">Back</a> | ||
<a class="button is-success" href="permissions/@NamespaceName/relationships/create">Create Relationship</a> | ||
<a class="button is-success" href="permissions/@NamespaceName/create">Create Relationship</a> | ||
</div> | ||
@if (_isLoading) | ||
{ | ||
|
@@ -37,6 +37,7 @@ else | |
<th>Relation</th> | ||
<th></th> | ||
<th>Object</th> | ||
<th></th> | ||
</thead> | ||
<tbody> | ||
@foreach (var relationship in _relationships.RelationTuples) | ||
|
@@ -51,6 +52,11 @@ else | |
<p class="is-bold">of</p> | ||
</td> | ||
<td>@relationship.Object</td> | ||
<td> | ||
<a href="permissions/@NamespaceName/[email protected]&[email protected]"> | ||
Permission Tree | ||
</a> | ||
</td> | ||
</tr> | ||
} | ||
</tbody> | ||
|
2 changes: 1 addition & 1 deletion
2
...n/Components/Pages/Permissions/Tree.razor → ...ages/Permissions/Relationships/Tree.razor
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
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