Today, I'll show you how toOpenResty EdgeConfigure and manage the access permissions of different management accounts to DNS applications in the Admin Web Console of.
Enter firstOpenResty EdgeAdmin Web Console for.This is a sample deployment of our console.Each user has its own local deployment.
View DNS page permissions as superuser
First, let's go to the DNS page.We are currently logged in as a super user, so we can see the page with all permissions.
Search sample application, test-dns.com
Click to enter.
As a super user, I have write permission.So I can add DNS records.
Or edit or delete an existing record.
In addition to DNS records, I can also edit domain name servers
Or control the user group with this DNS application permission.
We will introduce the details of these functions in another tutorial.
Create a user group with only read permissions for this DNS application
Next, let's create an example user group with only the read permission of this DNS application.And put an ordinary user into this group.Note that by default, normal users cannot use the DNS function.
Enter the "Users and User Groups" page first.
Then enter the "User Groups" page.
This is a list of some user groups that are being used in our sample deployment.We have another tutorial on user group related functions.
Click here to create a new user group.
Let's name the new user group test dns access.
The user group has been created.
Here is a list of permission details, showing the permissions of each page or part.
We can see that the user group cannot use DNS and DNS record pages by default.
So we need edit permission and give read permission.
Check this box to enable read permission.
preservation.
Also grant read permissions to DNS records.
Check this box to enable the read permission of DNS records.
Save again.
User groups have been configured.Next, enter our sample DNS application and grant permissions to this user group.
Search for apps again.
Enter the application.
Click the User Groups tab.
Select the "test dns access" group and assign permissions to the user group.
Next, we enter the user page, create a test account, and put it under the test dns access user group.This test account will be able to see our sample DNS application, but only have read permission.
Click this button to add a new user.
We name it "jeff tester".
Input password.
Enter the password again to confirm.
Then select "test dns access" as the user's group.
Save it.
Test user has been created.
Next, let's switch the login account.
Exit the current account.
Log in with the user name and password we just set.
Enter the user name.
Input password.
Sign in.
Well, we are now logged in as ordinary users.We can see the prompt that ordinary users do not have permission to view user and user group pages, which is in line with expectations.
View the permissions granted by the DNS application page
Let's go to the DNS page.
Here, we see that the test user can only see the DNS applications that can be seen by the user group to which he belongs.On this page, the buttons for adding, editing, and deleting DNS applications are hidden.
If we enter the DNS application.
We can see that the test user can only read relevant information.Test users cannot add, edit, or delete DNS records.There are no buttons available.
We enter the "authoritative server" tab,
You can see that all configurations are read-only.
About OpenResty Edge
OpenResty EdgeIt is a fully functional gateway software that we independently developed and is most suitable for microservices and distributed traffic.It provides various functions such as page rules, Web Application Firewall (WAF), load balancing, etc.
Zhang Yichun is open sourceOpenResty®Project founder andOpenResty Inc.CEO and founder of the company.
Zhang Yichun (Github ID: agentzh) was born in Jiangsu, China, and now lives in the U.S. Bay Area.He was an advocate and leader of China's early open source technology and culture, and once worked for many internationally renowned high-tech enterprises, such asCloudflareYahoo, Alibaba, the pioneer of "edge computing", "dynamic tracking" and "machine programming", has more than 22 years of programming and 16 years of open source experience. As the leader of open source projects with more than 40 million global domain name users, heOpenResty®High tech enterprises created by open source projectsOpenResty Inc.It is located in the center of Silicon Valley in the United States.Its two main productsOpenResty XRay(UtilizeDynamic trackingTechnology) andOpenResty Edge(The all-purpose gateway software most suitable for microservices and distributed traffic), widely favored by many listed and large enterprises worldwide.Besides OpenResty, Zhang Yichun has contributed more than one million lines of code to many open source projects, including Linux kernel, NginxLuaJIT、GDB、SystemTap、LLVM, Perl, etc., and has written more than 60 open source software libraries.
Follow us
If you like this article, please follow usOpenResty Inc.CorporateBlog Site。You are also welcome to scan our WeChat official account:
translate
We provideEnglish versionOriginal text and Chinese translation (this article).We also welcome readers to provide translations in other languages. As long as the full text translation is not omitted, we will consider using it. Thank you very much!
Related articles
OpenResty XRayMay 8, 2024
OpenResty XRayUpdated on May 17, 2024Estimated reading time: 4 minutes
Enable automatic health check of gateway server in OpenResty Edge
Create a new page rule
Enable health check
test result
About OpenResty Edge
Create a new page rule
Enable health check
test result
About OpenResty Edge
OpenResty XRayApr 28, 2024
OpenResty XRayUpdated on May 6, 2024Estimated reading time: 4 minutes
How to use gateway partition in OpenResty Edge
Create a new partition
Create a new application in the new partition
Create a new page rule
Test the new partition
About OpenResty Edge
Create a new partition
Create a new application in the new partition
Create a new page rule
Test the new partition
About OpenResty Edge
OpenResty XRayApr 10, 2024
OpenResty XRayUpdated on Apr 19, 2024Estimated reading time: 4 minutes
Precisely restore the real client IP address in OpenResty Edge
Set the "Real Source IP Trust Address" and "Real IP Source" in the global configuration
Configure the app to output the client address
Verify the client address received in OpenResty Edge
About OpenResty Edge
Set the "Real Source IP Trust Address" and "Real IP Source" in the global configuration
Configure the app to output the client address
Verify the client address received in OpenResty Edge
About OpenResty Edge
OpenResty XRayFeb 6, 2024
OpenResty XRayUpdated on Apr 10, 2024Estimated reading time: 4 minutes
Call Lua module through Edgelang in OpenResty Edge
Create a Lua module
Call Lua module in the HTTP application of OpenResty Edge
Verify the effect of calling Lua module
Create a Lua module
Call Lua module in the HTTP application of OpenResty Edge
Verify the effect of calling Lua module
OpenResty XRayJan 9, 2024
OpenResty XRayUpdated on Apr 10, 2024Estimated reading time: 4 minutes
How to use global search in the Admin console of OpenResty Edge
Search Request ID
Text on search interface
Search Upstream
Search app
Search blog posts
Search Request ID
Text on search interface
Search Upstream
Search app
Search blog posts
Article Contents
Popular articles
OpenResty XRayMay 2, 2016
OpenResty XRayMay 2, 2016
Random talk on dynamic tracking technology
What is dynamic tracking
Advantages of dynamic tracking
DTrace and SystemTap
Application of SystemTap in production
Flame diagram
Methodology
Knowledge is power
Open source and debugging symbols
Linux kernel support
Hardware Tracking
Analysis of the remains of the death process
Traditional debugging technology
A messy debugging world
OpenResty XRay
OpenResty XRaySep 7, 2020
OpenResty XRaySep 7, 2020
Introduction to Lua level CPU flame diagram
What is a flame diagram
Simple Lua sample
Complex Lua applications
Sampling overhead
Security
compatibility
Other types of Lua level flame diagram
OpenResty XRayAug 10, 2020
OpenResty XRayAug 10, 2020
Memory fragmentation in OpenResty and Nginx shared memory areas
Empty shared memory area
Fill similar sized entries
Remove Odd Keys
Delete the key in the first half
Mitigate memory fragmentation
OpenResty XRayAug 4, 2020
OpenResty XRayAug 4, 2020
How does OpenResty and Nginx's shared memory consume physical memory
Slab and memory page
Allocated memory may not be consumed
Spurious memory leak
HUP Reload
OpenResty XRayJan 21, 2020
OpenResty XRayJan 21, 2020
How OpenResty and Nginx allocate and manage memory
System level
Application level
Traditional Nginx server
OPENRESTYApr 25, 2019
OPENRESTYApr 25, 2019
Long term recruitment of outstanding talents
Back end engineer/system engineer
Sales Engineer
Latest articles
OpenResty XRayMay 12, 2024
OpenResty XRayMay 12, 2024
Introduction to OpenResty XRay Mobile Applications
Download and install OpenResty XRay for Android
Log in to OpenResty XRay
Fully automated analysis report
View performance chart data on the dashboard page
Guided analysis function
OpenResty XRayMay 11, 2024
OpenResty XRayMay 11, 2024
Online locating large memory objects in the PHP process (using OpenResty XRay)
Problem: Memory usage is too high
Locating large memory objects or values in the PHP process
Fully automated analysis and reporting
OpenResety EdgeMay 8, 2024
OpenResety EdgeMay 8, 2024
Enable automatic health check of gateway server in OpenResty Edge
Create a new page rule
Enable health check
test result
About OpenResty Edge
OpenResety EdgeApr 28, 2024
OpenResety EdgeApr 28, 2024
How to use gateway partition in OpenResty Edge
Create a new partition
Create a new application in the new partition
Create a new page rule
Test the new partition
About OpenResty Edge
OpenResety EdgeApr 10, 2024
OpenResety EdgeApr 10, 2024
Precisely restore the real client IP address in OpenResty Edge
Set the "Real Source IP Trust Address" and "Real IP Source" in the global configuration
Configure the app to output the client address
Verify the client address received in OpenResty Edge
About OpenResty Edge
Related articles
OpenResety EdgeMay 8, 2024
OpenResety EdgeMay 8, 2024
Enable automatic health check of gateway server in OpenResty Edge
Create a new page rule
Enable health check
test result
About OpenResty Edge
OpenResety EdgeApr 28, 2024
OpenResety EdgeApr 28, 2024
How to use gateway partition in OpenResty Edge
Create a new partition
Create a new application in the new partition
Create a new page rule
Test the new partition
About OpenResty Edge
OpenResety EdgeApr 10, 2024
OpenResety EdgeApr 10, 2024
Precisely restore the real client IP address in OpenResty Edge
Set the "Real Source IP Trust Address" and "Real IP Source" in the global configuration
Configure the app to output the client address
Verify the client address received in OpenResty Edge
About OpenResty Edge
OpenResety EdgeFeb 6, 2024
OpenResety EdgeFeb 6, 2024
Call Lua module through Edgelang in OpenResty Edge
Create a Lua module
Call Lua module in the HTTP application of OpenResty Edge
Verify the effect of calling Lua module
OpenResety EdgeJan 9, 2024
OpenResety EdgeJan 9, 2024
How to use global search in the Admin console of OpenResty Edge