Role Based Access for smartdocs

Not applicable

Lets say, I have 30 APIs, I want to show only 15 of them to certain developers, and 5 more to a partner A and other 10 only to my internal developers.

How can I configure my API Models, smartdocs in developer portal to accomplish this.

0 6 245
6 REPLIES 6

Content Access module is the way to go...

There could be multiple ways to implement this. But the easiest would be have three separate models for each of these segment of developers. Once you import and publish the documentation, enable access control using any of the methods discussed here.

Dear @Sandeep Murusupalli ,

You can able to do that using Content Access Module. One key thing to remember is Apigee Developer Portal SmartDocs are Drupal Nodes. So you can use any Drupal Access Restriction modules on top of Apigee Developer Portal Smart Docs. One of the widely used Access restriction modules in Drupal is Content Access Module. See comparison of modules here.

  • Enabled the content access module from admin/modules page.
  • Go to admin/structure/types/manage/{model_name}/access
  • Enable Per Content Access Setttings

532-screen-shot-2015-06-03-at-120937-pm.png

  • Go to Smart Docs page and Click on Access Control

534-screen-shot-2015-06-03-at-121255-pm.png

Cheers,

Anil Sagar

I perform these steps for smartdocs but not working still showing all paratmers as anonaymus user

Role based access for smartdocs - Does it work with Apigee free trial version?

@Jinesh Thakkar

If you have developer portal access it should work, Find more details here.