{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • General /
avatar image
0
Question by Esteban Lartigue · Mar 04 at 10:28 PM · 200 Views kvmshared flowscustom roles

Custom Role with KVM, Shared Flow, Hook Permissions

I created a custom role for developer (read and write) in the GUI.

I found out later that I can't assign to the role the ability to

add/update KVM

add/update shared flows

(possibly add/update hooks)

I attempted the next script.

curl -X POST \ https://api.enterprise.apigee.com/v1/o/{{MY_ORG}}/userroles/{{MY_CUSTOM_ROLE}}/permissions \ -H 'Accept: application/json' \ -H 'Authorization: Basic {{M
Y_BASE_64_ORG_USER_AND_PASSWORD}}' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: b4c5aab1-b293-4a4c-9780-46b98e919e03' \ -H 'cache-control: no-cache' \ -d '{ "path" : "/environments/dev/key-value-maps", "permissions" : ["put", "get"] }'

and it says 201 created.

but when logging in with a user with that role i still dont see add edit buttons. (I also tried the wildcard /key-value-maps/* )

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

  • Sort: 
avatar image
0

Answer by Dino-at-Google   · Mar 12 at 04:18 PM

Are you sure the correct path is "/environments/dev/key-value-maps" ?

I thought it would be "/environments/dev/keyvaluemaps"

Can you try that?

Comment
Add comment Show 3 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Esteban Lartigue · Mar 12 at 04:22 PM 0
Link

you are absolutely right, /environments/stage/keyvaluemaps this works.

it seems I didnt have the right path for sharedflows since I got 201 but change didnt reflect on my user/role

for sharedflow i used

/environments/dev/sharedflows

do you have the right paths for sharedflows/hook ?

avatar image Dino-at-Google ♦♦ Esteban Lartigue   · Mar 12 at 07:07 PM 0
Link

I think for sharedflows (ability to create/read/update/delete sharedflows) the path is

/sharedflows

/applications

To grant the ability to deploy sharedflows to a particular environment, I believe the path is

/environments/dev/sharedflows/*/revisions/*/deployments

/environments/dev/applications/*/revisions/*/deployments

EDIT - Confusingly, I think the "applications" path element is used for both sharedflows and apiproxy bundles.

avatar image Esteban Lartigue Dino-at-Google ♦♦ · Mar 12 at 07:13 PM 0
Link

thank you !!! ill test it out tonight!

Follow this Question

Answers Answers and Comments

48 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Issue in adding and deleting entries in key value map operations. 0 Answers

Cache Invalidation 1 Answer

Can I see key/value store data on Apigee Edge? 1 Answer

Can I call my Shared Flow asynchronously 1 Answer

Unable to fetch KeyValue map data in defult.xml 2 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges