# Using Datalog to Test for Access with Teleport

DevFeed: [Using Datalog to Test for Access with Teleport](<https://devfeed.tech/articles/using-datalog-to-test-for-access-with-teleport-29938.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/testing-access-datalog/>)

Author: info@goteleport.com (Rui Li)

Published: 2021-08-26T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [Access Control](<https://devfeed.tech/topics/access-control.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Server](<https://devfeed.tech/topics/server.md>), [Kubernetes clusters](<https://devfeed.tech/topics/kubernetes-clusters.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [access-control](<https://devfeed.tech/tags/access-control.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [databases](<https://devfeed.tech/tags/databases.md>), [programming](<https://devfeed.tech/tags/programming.md>), [servers](<https://devfeed.tech/tags/servers.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>)

## AI overview

This article explains a proposed Teleport access tester that uses Datalog to answer difficult Role-Based Access Control questions, such as whether a user can access a resource and which roles affect that access.

## Source excerpt

Utilizing the power of Datalog and logic programming to answer difficult access-related questions.