{ 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 /
  • Developer Portal (Drupal-based) /
avatar image
0
Question by Kenu Sagullo Cardino · Jul 23 at 10:19 AM · 39 Views SmartDocsPortals - SmartDocsdrupal developer portaldevportal dev-portalDrupal-based portalsdrupal module

Restricting access in SmartDocs (API Specs) Drupal 7 Dev Portal using Taxonomy_Access

Hi Guys, I'm having trouble on applying taxonomy_access and restricting "SmartDocs models".

I have a Pet Store Model for example:

This will be added as a term in the SmartDocs Vocabulary:

(Structure>Taxonomy)

Tried to apply access rules for my role "Company 1 Test". Added SmartDocs Model vocabulary and pet-store term. Then I set View and View Tag to Deny:

(Configuration>People>Taxonomy Access Control>Company 1 Test)

I have a user that has the role Company 1 test

but the user can still access the pet-store SmartDocs.

Did I miss any of the step?

screenshot-from-2019-07-23-17-56-12.png (135.8 kB)
screenshot-from-2019-07-23-17-57-46.png (40.8 kB)
screenshot-from-2019-07-23-18-04-39.png (98.4 kB)
screenshot-from-2019-07-23-18-14-10.png (8.9 kB)
Comment
Add comment Show 1
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 Ravindra Singh · Jul 23 at 10:42 AM 1
Link

Hi @Kenu Sagullo Cardino,

Couple of things you can check -

- mark global default view also deny, just check if global is working or not,

- Create a user who has only role company test 1

- Check if core permission are overriding the module based permission

- more importantly - check how the models view page has been designed because if this is something which fetches the terms detail without taxonomy access module feature would be a problematic.

- clear the cache

- cross check if minor things you are missing which we can't see here.

Close

1 Answer

  • Sort: 
avatar image
0
Best Answer

Answer by Kenu Sagullo Cardino · Jul 24 at 09:52 AM

@itravindrasingh Thanks for the input. Made a silly mistake. I have enabled access_content and access_content_rule with the wrong configuration. I disabled it respectively and fixed the taxonomy access control of the Authenticated User role.

Comment
Add comment · 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

Follow this Question

Answers Answers and Comments

83 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 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

Smartdocs Models applied in dev environment reflected on test and vice versa. 1 Answer

getting : "The requested URL /install.php was not found on this server." 0 Answers

SmartDocs onPremise "Send this Request" Button not work 3 Answers

Management of Developer portal (updates etc) 1 Answer

Error while uploading the swagger file 1 Answer

  • 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