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