-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed permissions for dashboard.
- Loading branch information
Showing
12 changed files
with
118 additions
and
46 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
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
23 changes: 10 additions & 13 deletions
23
apps/Core/Views/Default/html/common/errors/forbidden.html
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,30 +1,27 @@ | ||
{% set sectionId = '403' %} | ||
<div id="{{componentId}}-{{sectionId}}" hidden> | ||
<div id="{{componentId}}-{{sectionId}}"> | ||
<div class="row"> | ||
<div class="col"> | ||
<div class="jumbotron text-center bg-warning"> | ||
<div class="jumbotron text-center bg-danger"> | ||
<h1> | ||
<span class="text-white"><i class="fas fa-fw fa-ban"></i> Forbidden! (Error:403)</span> | ||
<span class="text-white"><i class="fas fa-fw fa-ban"></i> Permission Denied! (Error:403)</span> | ||
</h1> | ||
<p class="lead text-white">Sorry! You don't have permission to access this component.</p> | ||
<p> | ||
<a href="{{links.url('home')}}" class="contentAjaxLink btn btn-primary btn-lg"> | ||
<span class="text-uppercase">Goto Home</span> | ||
</a> | ||
</p> | ||
<p class="lead">Not allowed to access this resource.</p> | ||
<a href="#" class="btn btn-primary btn-lg text-center contentAjaxLink"> | ||
<span class="text-uppercase">Try Again</span> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col"> | ||
<h2>What happened?</h2> | ||
<p class="lead">A 403 error status indicates that you don't have permission to access this component.</p> | ||
<p class="lead">A 500 error status implies there is a problem with the web server's software causing it to malfunction.</p> | ||
</div> | ||
<div class="col"> | ||
<h2>What can I do?</h2> | ||
<p class="lead">Please check that you're in the right place and | ||
<a href="mailto:[email protected]?Subject=Permission%20Denied%20Error" class="font-weight-bold">contact</a> the administrator if you believe this to be an error. | ||
</p> | ||
<p class="lead">Nothing you can do at the moment. If you need immediate assistance, please | ||
<a href="mailto:[email protected]?Subject=Internal%20Server%20Error">contact</a> us.</p> | ||
</div> | ||
</div> | ||
</div> |
27 changes: 27 additions & 0 deletions
27
apps/Core/Views/Default/html/common/errors/permissiondenied.html
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{% set sectionId = '403' %} | ||
<div id="{{componentId}}-{{sectionId}}"> | ||
<div class="row"> | ||
<div class="col"> | ||
<div class="jumbotron text-center bg-danger"> | ||
<h1> | ||
<span class="text-white"><i class="fas fa-fw fa-ban"></i> Permission Denied! (Error:403)</span> | ||
</h1> | ||
<p class="lead">Not allowed to access this resource.</p> | ||
<a href="#" class="btn btn-primary btn-lg text-center contentAjaxLink"> | ||
<span class="text-uppercase">Try Again</span> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col"> | ||
<h2>What happened?</h2> | ||
<p class="lead">A 403 error status implies that you do not have access to this resource.</p> | ||
</div> | ||
<div class="col"> | ||
<h2>What can I do?</h2> | ||
<p class="lead">Nothing you can do at the moment. If you need immediate assistance, please | ||
<a href="mailto:?Subject=Permission%20Denied%20Error">contact</a> us.</p> | ||
</div> | ||
</div> | ||
</div> |
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Placeholder file. Do not remove |
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
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
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