[Backlogmanager] [FIWARE-JIRA] (HELP-15651) [fiware-stackoverflow] How can I give permissions based on entity type?

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Wed Apr 3 09:37:00 CEST 2019


     [ https://jira.fiware.org/browse/HELP-15651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez reassigned HELP-15651:
-------------------------------------

    Assignee: Alvaro Alonso

> [fiware-stackoverflow] How can I give permissions based on entity type?
> -----------------------------------------------------------------------
>
>                 Key: HELP-15651
>                 URL: https://jira.fiware.org/browse/HELP-15651
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Alvaro Alonso
>              Labels: authzforce, fiware, fiware-keyrock
>
> Created question in FIWARE Q/A platform on 02-04-2019 at 13:04
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/55473700/how-can-i-give-permissions-based-on-entity-type
> +Question:+
> How can I give permissions based on entity type?
> +Description:+
> I'm trying to set permissions based on the types of entities Orion is going to save. As the permissions are associated to "endpoints" I had tried to set as endpoint /entities?type=Truck (for example). The problem is that it tells me (Keyrock through PEP response) that the user is not authorized in the application.
> I have looked at all the connections in the database and it appears to me that he is authorized, has his role, his permission, and his assigned organization, all within the only application that has been created.
> In the tutorial something similar appears with the POST request, but this is because in the body of the message the type of entity is sent. In the case of the GET I don't see it so clear, since it goes in the URL, but trying this hasn't worked.
> Is it possible that this should not be done in this way? How should this type of permissions be created?



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy