--
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/08f67027-1355-463c-8bbb-3a60ee99d510%40googlegroups.com.
Dear Laurent,could you share also the request you're performing for deleting entries?Anyway, role 'rdfgeek' should be enough to delete triples, just be sure that the user has also languages assigned in case the object of the triple you're deleting is a language tagged literal, or a skosxl label, otherwise every action that involves such values will be denied.Moreover, in order to get further info about why the operation has been denied, you could also set the ST log level to DEBUG (see here) and inspect the log.Kind regards,Tiziano
Il giorno mer 11 mar 2020 alle ore 11:13 Laurent Pierre <lolost...@gmail.com> ha scritto:
Hi,--I just added roles to a user such as 'rdfgeek or 'ontologist' associated to a projectbut I still can't delete entries in the project ...Any idea ?Kind regards,Laurent
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-user+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/08f67027-1355-463c-8bbb-3a60ee99d510%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/30d4edcd-c2ac-4585-a57c-bb463b87db1b%40googlegroups.com.
Dear Laurent,
sorry, I'm a bit confused. There are two distinct errors:Just to be clear, which of these actions was performed though the web interface and which using Postman?
- The one in the first email was about the fact that you weren't able to delete an entry due to missing privileges.
- The last one is about an (apparently) invalid project name while you're trying to add a role to a user.
The error reported in the log when did happened? after the request from Postman or using the web interface?
In the first email you attached a screenshot about a POST request for adding the "rdfgeek" role to a user. Did that request succeed? In case not, then it was normal that the user was not able to delete entries.
--
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/fe49b403-1ba5-4bbd-9a3d-db22d800efea%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-user+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/fe49b403-1ba5-4bbd-9a3d-db22d800efea%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/bf97ac62-486c-48a3-b3b9-6c17b55ff38f%40googlegroups.com.
The administrator can manage the project-user binding in the Projects administration page.
Il giorno mer 11 mar 2020 alle ore 17:37 Laurent Pierre <lolost...@gmail.com> ha scritto:
here's the binding.ttl file related to the pair project|user :
_:genid-22b420cc57e744a8926c8f9fe47f24b3-binding a <http://semanticturkey.uniroma2.it/puvoc#Binding>;<http://semanticturkey.uniroma2.it/puvoc#project> <http://semanticturkey.uniroma2.it/projects/test1>;
<http://semanticturkey.uniroma2.it/puvoc#user> <http://semanticturkey.uniroma2.it/users/laurent.pie...@edf.fr> .It looks like that test1 accept lauren...@edf.fr as a rdfgeek.
BTW : how could you add a role through the web interface ?
Le mercredi 11 mars 2020 16:16:11 UTC+1, tiziano.lorenzetti a écrit :
Ok, so first it is necessary to solve the error when adding the role, then I guess you will be able to delete entries.The "projectName" you provided (test1) seems to be ok, anyway make sure that there aren't non-printable characters in the value (any chance you copy&pasted the name into the value field of Postman?).If you don't resolve, you could try to add the role using the web interface and inspect network activity of the browser. Then compare the addRolesToUser request sent by the browser with the one you sent with Postman and see if you notice differences.
Il giorno mer 11 mar 2020 alle ore 16:01 Laurent Pierre <lolost...@gmail.com> ha scritto:
Dear Tiziano,--
Le mercredi 11 mars 2020 15:52:27 UTC+1, tiziano.lorenzetti a écrit :Dear Laurent,
sorry, I'm a bit confused. There are two distinct errors:Just to be clear, which of these actions was performed though the web interface and which using Postman?
- The one in the first email was about the fact that you weren't able to delete an entry due to missing privileges.
- The last one is about an (apparently) invalid project name while you're trying to add a role to a user.
add a role to a user (see log) : Postmandelete an entry : Web interface (the delete icon is not active)
The error reported in the log when did happened? after the request from Postman or using the web interface?after the request from PostmanIn the first email you attached a screenshot about a POST request for adding the "rdfgeek" role to a user. Did that request succeed? In case not, then it was normal that the user was not able to delete entries.I thought it worked but inspecting the logfile I noticed the exception which seems caused by the the facts ST didn't recognize the project.Kind regards,Laurent
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-user+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/fe49b403-1ba5-4bbd-9a3d-db22d800efea%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-user+unsub...@googlegroups.com.
I created a new project 'test2' and then associated 'john...@worldnet.net' to it with rdfgeek role
but I couldn't even create a concept this time :(The problem comes from the role assignation2020-03-11T18:15:41,580 | DEBUG | qtp1162166247-212 | STServiceAspect | 150 - it.uniroma2.art.semanticturkey.st-core-framework - 7.0.0 | End of service invocation: STServiceInvocaton{method=public void it.uniroma2.art.semanticturkey.services.core.Administration.addRolesToUser(java.lang.String,java.lang.String,java.lang.String[]) throws it.uniroma2.art.semanticturkey.user.ProjectBindingException,it.uniroma2.art.semanticturkey.exceptions.InvalidProjectNameException,it.uniroma2.art.semanticturkey.exceptions.ProjectInexistentException,it.uniroma2.art.semanticturkey.exceptions.ProjectAccessException, args=[test2, john...@world.net, [Ljava.lang.String;@36755712]}2020-03-11T18:15:41,581 | DEBUG | qtp1162166247-212 | LegacyAndNewStyleServiceConnectioManagementHandlerInterceptor | 150 - it.uniroma2.art.semanticturkey.st-core-framework - 7.0.0 | post handle: SecurityContextHolderAwareRequestWrapper[ FirewalledRequest[ Request(POST //localhost:1979/semanticturkey/it.uniroma2.art.semanticturkey/st-core-services/Administration/addRolesToUser?)@1f540c4]]
Le mercredi 11 mars 2020 17:41:54 UTC+1, tiziano.lorenzetti a écrit :
The administrator can manage the project-user binding in the Projects administration page.
Il giorno mer 11 mar 2020 alle ore 17:37 Laurent Pierre <lolost...@gmail.com> ha scritto:
here's the binding.ttl file related to the pair project|user :
_:genid-22b420cc57e744a8926c8f9fe47f24b3-binding a <http://semanticturkey.uniroma2.it/puvoc#Binding>;<http://semanticturkey.uniroma2.it/puvoc#project> <http://semanticturkey.uniroma2.it/projects/test1>;
It looks like that test1 accept lauren...@edf.fr as a rdfgeek.BTW : how could you add a role through the web interface ?
Le mercredi 11 mars 2020 16:16:11 UTC+1, tiziano.lorenzetti a écrit :
Ok, so first it is necessary to solve the error when adding the role, then I guess you will be able to delete entries.The "projectName" you provided (test1) seems to be ok, anyway make sure that there aren't non-printable characters in the value (any chance you copy&pasted the name into the value field of Postman?).If you don't resolve, you could try to add the role using the web interface and inspect network activity of the browser. Then compare the addRolesToUser request sent by the browser with the one you sent with Postman and see if you notice differences.
Il giorno mer 11 mar 2020 alle ore 16:01 Laurent Pierre <lolost...@gmail.com> ha scritto:
Dear Tiziano,--
Le mercredi 11 mars 2020 15:52:27 UTC+1, tiziano.lorenzetti a écrit :Dear Laurent,
sorry, I'm a bit confused. There are two distinct errors:Just to be clear, which of these actions was performed though the web interface and which using Postman?
- The one in the first email was about the fact that you weren't able to delete an entry due to missing privileges.
- The last one is about an (apparently) invalid project name while you're trying to add a role to a user.
add a role to a user (see log) : Postmandelete an entry : Web interface (the delete icon is not active)
The error reported in the log when did happened? after the request from Postman or using the web interface?after the request from PostmanIn the first email you attached a screenshot about a POST request for adding the "rdfgeek" role to a user. Did that request succeed? In case not, then it was normal that the user was not able to delete entries.I thought it worked but inspecting the logfile I noticed the exception which seems caused by the the facts ST didn't recognize the project.Kind regards,Laurent
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/fe49b403-1ba5-4bbd-9a3d-db22d800efea%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/bf97ac62-486c-48a3-b3b9-6c17b55ff38f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/086604b7-3c35-48d8-a29c-b1a561733d68%40googlegroups.com.
Dear Laurent,
have you created and selected a ConceptScheme? (from the "Scheme" tab). If not, you should see a yellow warning sign in the top bar of the concept tree panel which warns you that it is not possible to create new concept.I also just downloaded VocBench 7.0.0 and run a new installation from scratch, I wanted to be sure that no configuration I had locally interfered with the test.I did every action with the web interface (I didn't make any request manually using Postman) and in my case everything worked fine: the addition of a role to a user, the creation of a concept and the deletion of entries.
Il giorno mer 11 mar 2020 alle ore 18:26 Laurent Pierre <lolost...@gmail.com> ha scritto:
I created a new project 'test2' and then associated 'joh...@worldnet.net' to it with rdfgeek role
but I couldn't even create a concept this time :(The problem comes from the role assignation
2020-03-11T18:15:41,580 | DEBUG | qtp1162166247-212 | STServiceAspect | 150 - it.uniroma2.art.semanticturkey.st-core-framework - 7.0.0 | End of service invocation: STServiceInvocaton{method=public void it.uniroma2.art.semanticturkey.services.core.Administration.addRolesToUser(java.lang.String,java.lang.String,java.lang.String[]) throws it.uniroma2.art.semanticturkey.user.ProjectBindingException,it.uniroma2.art.semanticturkey.exceptions.InvalidProjectNameException,it.uniroma2.art.semanticturkey.exceptions.ProjectInexistentException,it.uniroma2.art.semanticturkey.exceptions.ProjectAccessException, args=[test2, joh...@world.net, [Ljava.lang.String;@36755712]}
2020-03-11T18:15:41,581 | DEBUG | qtp1162166247-212 | LegacyAndNewStyleServiceConnectioManagementHandlerInterceptor | 150 - it.uniroma2.art.semanticturkey.st-core-framework - 7.0.0 | post handle: SecurityContextHolderAwareRequestWrapper[ FirewalledRequest[ Request(POST //localhost:1979/semanticturkey/it.uniroma2.art.semanticturkey/st-core-services/Administration/addRolesToUser?)@1f540c4]]
Le mercredi 11 mars 2020 17:41:54 UTC+1, tiziano.lorenzetti a écrit :
The administrator can manage the project-user binding in the Projects administration page.
Il giorno mer 11 mar 2020 alle ore 17:37 Laurent Pierre <lolost...@gmail.com> ha scritto:
here's the binding.ttl file related to the pair project|user :
_:genid-22b420cc57e744a8926c8f9fe47f24b3-binding a <http://semanticturkey.uniroma2.it/puvoc#Binding>;<http://semanticturkey.uniroma2.it/puvoc#project> <http://semanticturkey.uniroma2.it/projects/test1>;
It looks like that test1 accept lauren...@edf.fr as a rdfgeek.BTW : how could you add a role through the web interface ?
Le mercredi 11 mars 2020 16:16:11 UTC+1, tiziano.lorenzetti a écrit :
Ok, so first it is necessary to solve the error when adding the role, then I guess you will be able to delete entries.The "projectName" you provided (test1) seems to be ok, anyway make sure that there aren't non-printable characters in the value (any chance you copy&pasted the name into the value field of Postman?).If you don't resolve, you could try to add the role using the web interface and inspect network activity of the browser. Then compare the addRolesToUser request sent by the browser with the one you sent with Postman and see if you notice differences.
Il giorno mer 11 mar 2020 alle ore 16:01 Laurent Pierre <lolost...@gmail.com> ha scritto:
Dear Tiziano,--
Le mercredi 11 mars 2020 15:52:27 UTC+1, tiziano.lorenzetti a écrit :Dear Laurent,
sorry, I'm a bit confused. There are two distinct errors:Just to be clear, which of these actions was performed though the web interface and which using Postman?
- The one in the first email was about the fact that you weren't able to delete an entry due to missing privileges.
- The last one is about an (apparently) invalid project name while you're trying to add a role to a user.
add a role to a user (see log) : Postmandelete an entry : Web interface (the delete icon is not active)
The error reported in the log when did happened? after the request from Postman or using the web interface?after the request from PostmanIn the first email you attached a screenshot about a POST request for adding the "rdfgeek" role to a user. Did that request succeed? In case not, then it was normal that the user was not able to delete entries.I thought it worked but inspecting the logfile I noticed the exception which seems caused by the the facts ST didn't recognize the project.Kind regards,Laurent
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-user+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/fe49b403-1ba5-4bbd-9a3d-db22d800efea%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-user+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semanticturkey-user/bf97ac62-486c-48a3-b3b9-6c17b55ff38f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "semanticturkey-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticturkey-user+unsub...@googlegroups.com.