Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

161
Vistas
Can I run a MarkLogic method which is specific to a role/access?

I need to run a couple of functions with a specific & custom role that I created which is similar to admin role. Is there any functionality in MarkLogic where I can call a function with a specifc role? Is there any examples for the same?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

This feature exists and is called an AMP (temporary amplification of privileges)

  1. Create a role with the extra execute priv, roles etc -but do not assign it to anyone
  2. Create an AMP configuration - mapping a specific function to the new role. When the function is run, it will inherit the extra role.

Please note: For me, I always also make sure the the calling user is meant to have access to that function. This can be achieved with a en execute priv on the calling role and a security assert in the executed function.

Resources:

  • Privileges Documentation
  • AMP Documentation:
    • Source 1 -Security Section
    • Source 2 -configuration info from Admin interface
    • Source 3 - You tag Javascript, so There is some special information since the amp is applied on the export.
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda