mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
feat(extensions): remove rbac extension (#4157)
* feat(extensions): remove rbac extension client code * feat(extensions): remove server rbac code * remove extensions code * fix(notifications): remove error * feat(extensions): remove authorizations service * feat(rbac): deprecate fields * fix(portainer): revert change * fix(bouncer): remove rbac authorization check * feat(sidebar): remove roles link * fix(portainer): remove portainer module
This commit is contained in:
parent
8629738e34
commit
9d18d47194
117 changed files with 98 additions and 3487 deletions
|
@ -57,21 +57,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- KEEP FOR FUTURE RBAC EVOL -->
|
||||
<!-- <div class="form-group" ng-if="ctrl.entityType !== 'registry'">
|
||||
<label class="col-sm-3 col-lg-2 control-label text-left">
|
||||
Role
|
||||
</label>
|
||||
<div class="col-sm-9 col-lg-4">
|
||||
<select ng-if="ctrl.rbacEnabled" class="form-control" ng-model="ctrl.formValues.selectedRole"
|
||||
ng-options="role.Name for role in ctrl.roles">
|
||||
</select>
|
||||
<span class="small text-muted" ng-if="!ctrl.rbacEnabled">
|
||||
The <a ui-sref="portainer.extensions.extension({id: 3})">Role-Based Access Control extension</a> is required to select a specific role.
|
||||
</span>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- actions -->
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
|
@ -96,11 +81,6 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<!--
|
||||
rbac-enabled="ctrl.rbacEnabled && ctrl.entityType !== 'registry'"
|
||||
roles="ctrl.roles"
|
||||
update-action="ctrl.updateAction"
|
||||
-->
|
||||
<access-datatable
|
||||
ng-if="ctrl.authorizedUsersAndTeams"
|
||||
title-text="Access"
|
||||
|
|
|
@ -35,9 +35,6 @@ class KubernetesResourcePoolAccessController {
|
|||
/**
|
||||
* Init
|
||||
*/
|
||||
// TODO: refactor: roles need to be fetched if RBAC is activated on Portainer
|
||||
// see porAccessManagementController for more details
|
||||
// Extract the fetching code and merge it in AccessService.accesses() function
|
||||
async onInit() {
|
||||
this.state = {
|
||||
actionInProgress: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue