CSCfi / iow-ui

Interoperability workbench user interface
Other
3 stars 0 forks source link

#MEMBERS - group member can change component state and create libraries #227

Open okotilai opened 8 years ago

okotilai commented 8 years ago

In latest spesification #ADMINS - group members can only change state of component and, however I removed myself in the ADMINS group and action described here is available.

amiika commented 8 years ago

UserManager doesnt remove admin status from the database

amiika commented 8 years ago

Debug query:

Dec 17, 2015 2:57:02 PM com.csc.fi.ioapi.utils.UserManager updateUser

INFO: https://tt.eduuni.fi/sites/csc-iow#JHS is false INFO: https://tt.eduuni.fi/sites/csc-iow#KTK is true

WARNING: PREFIX dcap: http://purl.org/ws-mmi-dc/terms/ PREFIX void: http://rdfs.org/ns/void# PREFIX adms: http://www.w3.org/ns/adms# PREFIX owl: http://www.w3.org/2002/07/owl# PREFIX xsd: http://www.w3.org/2001/XMLSchema# PREFIX skos: http://www.w3.org/2004/02/skos/core# PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema# PREFIX iow: http://urn.fi/urn:nbn:fi:csc-iow-meta# PREFIX sd: http://www.w3.org/ns/sparql-service-description# PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# PREFIX sh: http://www.w3.org/ns/shacl# PREFIX dcterms: http://purl.org/dc/terms/ PREFIX text: http://jena.apache.org/text# PREFIX vann: http://purl.org/vocab/vann/ PREFIX prov: http://www.w3.org/ns/prov# PREFIX foaf: http://xmlns.com/foaf/0.1/ PREFIX dc: http://purl.org/dc/elements/1.1/ WITH urn:csc:users DELETE { mailto:eduunitesti@gmail.com dcterms:modified ?oldTime . mailto:eduunitesti@gmail.com dcterms:isPartOf ?group . mailto:eduunitesti@gmail.com iow:isAdminOf ?14:57:02+02"^^xsd:dateTime . mailto:eduunitesti@gmail.com dcterms:isPartOf https://tt.eduuni.fi/sites/csc-iow#JHS . mailto:eduunitesti@gmail.com dcterms:isPartOf https://tt.eduuni.fi/siuuni.fi/sites/csc-iow#KTK . } WHERE {mailto:eduunitesti@gmail.com a foaf:Person . OPTIONAL {mailto:eduunitesti@gmail.com dcterms:modified ?oldTime .} OPTIONAL {<mailto:eduunitesti@gmail.cdminOf ?group .}}