@prefix this: <https://w3id.org/np/RAoqzi9VTP6c3HNtv98yMHiqrXMXpg3RmrwLoFL6ONV0E> .
@prefix sub: <https://w3id.org/np/RAoqzi9VTP6c3HNtv98yMHiqrXMXpg3RmrwLoFL6ONV0E/> .
@prefix gen: <https://w3id.org/kpxl/gen/terms/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

<https://w3id.org/np/RAoqzi9VTP6c3HNtv98yMHiqrXMXpg3RmrwLoFL6ONV0E> a np:Nanopublication;
  np:hasAssertion sub:assertion;
  np:hasProvenance sub:provenance;
  np:hasPublicationInfo sub:pubinfo;
  dct:created "2026-06-09T12:49:38Z"^^xsd:dateTime;
  dct:creator orcid:0000-0002-1267-0234;
  dct:license <https://creativecommons.org/licenses/by/4.0/>;
  npx:embeds sub:space-roles-view;
  npx:introduces <https://w3id.org/np/RADFLDTJUN8Qa9028Ltvlx19_J6Pm2_Mfa3g8KhxxbNiI/space-roles-view-kind>;
  npx:supersedes <https://w3id.org/np/RAcqHUF4YQCdPXtKB0dG2RMGxPni2Vq5plkSH-9UWE678>;
  nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU>;
  nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw>,
    <https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw>, <https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI>;
  nt:wasCreatedFromTemplate <https://w3id.org/np/RARLsTlqbTesu1b0WJZ-zL1z96xumOiqbK3l_vV6iZoww> .

sub:add-role-action a gen:ViewAction;
  rdfs:label "Add role";
  gen:hasActionTemplate <https://w3id.org/np/RARBzGkEqiQzeiHk0EXFcv9Ol1d-17iOh9MoFJzgfVQDc>;
  gen:hasActionTemplateTargetField "space";
  gen:isVisibleTo gen:AdminRole .

sub:assign-user-action a gen:ViewEntryAction;
  rdfs:label "Assign user";
  gen:hasActionTemplate <https://w3id.org/np/RAR1oWGaiVkWtDL6SdXYnlRBR7t5NoVNa46ShNLJ697g0>;
  gen:hasActionTemplateQueryMapping "roleAssignmentTemplate:@template";
  gen:hasActionTemplateTargetField "space";
  gen:isVisibleTo gen:AdminRole .

sub:space-roles-view a gen:ListView, gen:ResourceView;
  dct:isVersionOf <https://w3id.org/np/RADFLDTJUN8Qa9028Ltvlx19_J6Pm2_Mfa3g8KhxxbNiI/space-roles-view-kind>;
  dct:title "🎭 Assigned roles";
  rdfs:label "Space roles view";
  gen:hasStructuralPosition "5.5.spaceRoles";
  gen:hasViewAction sub:add-role-action, sub:assign-user-action;
  gen:hasViewQuery <https://w3id.org/np/RAF55f8Wz80kzRIJy46QmI14xfwuzBIrs_00isfqntoWU/list-space-roles>;
  gen:hasViewQueryTargetField "space" .

sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .

orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" .

sub:sig npx:hasAlgorithm "RSA";
  npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
  npx:hasSignature "aUrP+tGuo1zZGoZjHa50XVNnh5gy8c4sTUEjBga5+XQR0zxRRgc3k3RHCTNx21cZeTNLx2mHNKoLMmG62ZRluX0+me0414AURhwNK1i0XZVVko9AIAaAc3R4afHbAyEQrd3GhHueGXHGvWBRYPAQl+MvgZaY1bcT8rL/jDMLbCQ=";
  npx:hasSignatureTarget <https://w3id.org/np/RAoqzi9VTP6c3HNtv98yMHiqrXMXpg3RmrwLoFL6ONV0E>;
  npx:signedBy orcid:0000-0002-1267-0234 .

