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-details',
  standalone: true,
  imports: [
    ObjectsViewModule
  ],
  templateUrl: './rbac-policy-details.component.html',
  styleUrl: './rbac-policy-details.component.scss'
})
export class RbacPolicyDetailsComponent extends DetailsBase<IRBACPolicyModel> {
  constructor(route: ActivatedRoute, rbacPoliciesListUiService: RbacPoliciesListUiService) {
    super(route, rbacPoliciesListUiService, 'details', 'rbac_policy');
  }
}
