import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { ActivatedRoute } from '@angular/router';
import { IRBACPolicyModel } from '@fleio-api/openstack/model/rbac-policy.model';
import { RbacPoliciesListUiService } from '../rbac-policies-list-ui.service';
import { ObjectsViewModule } from '@objects-view/objects-view.module';

@Component({
  selector: 'app-rbac-policy-edit',
  standalone: true,
  imports: [
    ObjectsViewModule
  ],
  templateUrl: './rbac-policy-edit.component.html',
  styleUrl: './rbac-policy-edit.component.scss'
})
export class RbacPolicyEditComponent extends DetailsBase<IRBACPolicyModel> {
  constructor(route: ActivatedRoute, rbacPoliciesListUiService: RbacPoliciesListUiService) {
    super(route, rbacPoliciesListUiService, 'edit', 'rbac_policy', null);
  }
}
