How to get my role in application - facebook-graph-api

Is it posible to get my role from my application, having my user access_token?

You can have a look here https://developers.facebook.com/docs/reference/api/app-game-groups/
But be aware its Beta

Related

Restrict access for publishing API to publisher only

Was following the WSO2 course and landed on this. So far, only the admin account can publish and API. I just want the API creator to create the API and the API publisher to publish it.
I tried to create different roles and give them only the permissions they required like creator > creates and publisher > publishes. That has not worked so far
You can create roles from the management console and do the relevant role mappings from the Admin Portal. For example, if you want a user who can do CRUD operations on an API, you can assign a role which has Internal/creator mapping to that user. Or if you need more fine grained permissions, you can assign the relevant scopes in the Role Permissions section in the Admin Portal.
Please refer https://apim.docs.wso2.com/en/latest/administer/managing-users-and-roles/managing-user-roles/#creating-user-roles for more information. This also explains what are specific permissions (scopes) applied to each of creator, publisher, etc. You can use that to get an idea of each role's capabilities.

How to get user roles - not to project level

I need to get evidence about the role assigned to my user.
Mi role it's supose to be It_Support.. some kind of global viewer role.. when I check in IAM it only shows the roles to proyect level, and i'm not assigned to the project.. my guess is that my role is assigned above this level and I don't know how to get it.
Thanks
I need a shell command or instructions to get the role

Can't enable Cloud Build API (or any other) due missing permission. But what role contains the needed permission?

I want to create my Cloud Build API but I have not the proper permission. I know how to add permissions and am able to add roles to my IAM however the error message leaves me clueless in what permission I actually need or what role holds that permission.
These are my current roles:
Service Account Key Admin
Organization Administrator
Project IAM Admin
Can someone give me the role or permission name so I can look it up?
Following the official IAM documentation on Cloud Build, I think that the role of roles/cloudbuild.builds.editor could serve you well, since it grants full control of Cloud Build resources. Even though you have set the correct IAM permissions, you need to specify an specific role for this API. Please, tell me if this has helped you.
The Editor role seems to contain the needed permission. However it has a lot of excess permissions so it's not the perfect solution

Permissions to create OAuth client ID in Google Cloud

I'd like to create some OAuth client IDs in the GCP but I do not have some permissions for that. I got a warning "You don't have permission to create an OAuth client"
I can simply add me to the role roles/owner and do it, but I'd like to have something like a minimal permission/role to create OAuth client IDs. What permissions/roles from this list should I use?
https://cloud.google.com/iam/docs/understanding-roles#service_account_roles
I tried roles/iam.serviceAccountTokenCreator but it doesn't work.
Besides having at least the Viewer role assigned in order to see the Google Cloud Platform project and navigate the Cloud Console the only relevant permission in order to create an OAuth client should be clientauthconfig.clients.create. But notice that besides creating them, the user would not have the ability to delete or update them.
My suggestion would be to create a custom role that have at least the following permissions:
clientauthconfig.clients.create
clientauthconfig.clients.createSecret
clientauthconfig.clients.delete
clientauthconfig.clients.get
clientauthconfig.clients.getWithSecret
clientauthconfig.clients.list
clientauthconfig.clients.listWithSecrets
clientauthconfig.clients.undelete
clientauthconfig.clients.update
And make sure that the users have at least the Viewer Role as well as this custom role assigned.
You can try to create a custom role which has permissions clientauthconfig.*
Note: As per https://cloud.google.com/iam/docs/custom-roles-permissions-support, these permissions are in testing phase so please try them out thorougly before putting in production.
Hope this helps.

Issue with WSO2 APP Manager1.1.0

I am trying to login to the APP publisher after creating a user and assigning the internal/Publisher role to it, but every time it gives me the error as
No Privileges to login. You do not have the permission to login to this application. Please contact your administrator and request permission.
The console error is
User does not have permission to access the publisher application.Make sure the user has the publisher role.
If the user has the internal/publisher role assigned, logging in should be possible.
Can you please mention the exact steps you are executing and any other changes made to configurations.
However there is a known issue [1] where we can't use a new role with permission identical to that of the internal/publisher role.
If you are trying to use such a newly created role, you can try the workaround mentioned in [1]
[1] https://wso2.org/jira/browse/APPM-796