Disable access control with customAuth flag
This commit is contained in:
@@ -73,7 +73,15 @@
|
||||
Access is granted to <b>{{ renderAccessRestrictionUser(appConfigure.app.accessRestriction.users[0]) }}</b>.
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group" ng-hide="appConfigure.app.manifest.singleUser">
|
||||
|
||||
<div class="form-group" ng-show="appInstall.app.manifest.customAuth">
|
||||
<label class="control-label">Access control</label>
|
||||
<p>
|
||||
This app has it's own access control and does not integrate with Cloudron Auth.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group" ng-hide="appConfigure.app.manifest.singleUser || appConfigure.app.manifest.customAuth">
|
||||
<label class="control-label">Access control</label>
|
||||
<div class="radio">
|
||||
<label>
|
||||
|
||||
@@ -39,7 +39,15 @@
|
||||
<label class="control-label">User</label>
|
||||
<select class="form-control" ng-model="appInstall.accessRestrictionSingleUser" ng-options="user as (user.username || user.email) for user in users track by user.id" ng-required="appInstall.app.manifest.singleUser"></select>
|
||||
</div>
|
||||
<div class="form-group" ng-hide="appInstall.app.manifest.singleUser">
|
||||
|
||||
<div class="form-group" ng-show="appInstall.app.manifest.customAuth">
|
||||
<label class="control-label">Access control</label>
|
||||
<p>
|
||||
This app has it's own access control and does not integrate with Cloudron Auth.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group" ng-hide="appInstall.app.manifest.singleUser || appInstall.app.manifest.customAuth">
|
||||
<label class="control-label">Access control</label>
|
||||
<div class="radio">
|
||||
<label>
|
||||
|
||||
Reference in New Issue
Block a user