import { Component } from '@angular/core';
import { ListBase } from '@objects-view/list-base';
import { ActivatedRoute } from '@angular/router';
import { RefreshService } from '@shared/ui-api/refresh.service';
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-list',
  standalone: true,
  imports: [
    ObjectsViewModule
  ],
  templateUrl: './rbac-policy-list.component.html',
  styleUrl: './rbac-policy-list.component.scss'
})
export class RbacPolicyListComponent extends ListBase<IRBACPolicyModel> {

  constructor(
    private route: ActivatedRoute, private rbacPoliciesListUiService: RbacPoliciesListUiService,
    private refreshService: RefreshService,
  ) {
    super(route, rbacPoliciesListUiService, refreshService, 'rbac_policies');
  }
}
