Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Kanban workshop
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Are the permissions of a user triggering an automation script fully taken into account?

Solved82 views6 days agoautomation scipt credentials Library Credential permission rights user rights
4
Alexander Verriest [SLC] [DevOps Advocate]577 6 days ago 0 Comments

When running an automation script, are all the rights from the user triggering the script taken into account?
I know a script can’t access element info for example when the user triggering the script does not have the required rights, but is this true in all cases?

I’m encountering some issues when trying to access credentials from the Credentials Library from an automation script. Even credentials that I create from the script itself are not accessible from the script, though they are created when I check the Library.xml.

When I run the script as the Administrator user it succeeds though, so I’m trying to get some insight in how permissions come into play when running automation scripts. Does the script have the same permissions? Are there limitations?

Alexander Verriest [SLC] [DevOps Advocate] Selected answer as best 6 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Thomas Ghysbrecht [SLC] [DevOps Enabler]4.90K Posted 6 days ago 1 Comment

Hi Alexander,

When an Automation script is started by a user, all requests sent in that script (e.g. using engine.SendSLNetMessages) will be executed under that user context. This should thus result in having the permissions of that user being applied.

I would thus assume that, if you read the credentials using the SLNet message (GetLibraryCredentialsRequestMessage), you should be able to retrieve those that your user has access to. When you create them, make sure to assign the correct groups.

Could you share some info on how you create and retrieve these credentials?

Alexander Verriest [SLC] [DevOps Advocate] Selected answer as best 6 days ago
Alexander Verriest [SLC] [DevOps Advocate] commented 6 days ago

My user indeed was no longer in the group I was assigning to to the credentials I was creating. Works fine after adding myself to this group again.

Thanks for the clarification!

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs