Skip to main content
Question

GraphQL Query for Meta Model Configuration getting the factsheet permissions

  • August 6, 2025
  • 2 replies
  • 143 views

Forum|alt.badge.img

Good Day. I am struggling to create a graphql query getting the factsheet’s permission in meta model configuration (Manage Permission). I want to automate reading and updating if necessary. Thanks for the help

2 replies

Carsten
Forum|alt.badge.img+1
  • Everlasting Love
  • August 6, 2025

Hi ​@NarzeusNabartey,
I don’t think that it will work graphql. You may look at the API permissionRoles: LeanIX OpenAPI Explorer 
For changing permissions you can use action: LeanIX OpenAPI Explorer

I cannot find any documentation (very common problem), but you may go MetaModel Configuration, set some permisions and use the Bowsers Debugger (F12) to look which command are used by LeanIX , e.g. I added create permission for Viewers on Resources:
 

Best regards,

Carsten


Forum|alt.badge.img
  • Author
  • Royalty For Loyalty
  • August 8, 2025

Thank you so much for your reply. I was able to query the permissionRoles via OpenAPI. I was wondering if it will make any difference if I do it via GraphQL (more customized output). Thing is our LeanIX instances are in jumpservers and our capability to use the troubleshooting techniques are very limited (like using Debuggers). I will get back on this use case of mine in the future. Thanks again.