当前位置:网站首页>Troubleshooting and optimization of files that cannot be globally searched by ordinary users in easydss video platform customization project
Troubleshooting and optimization of files that cannot be globally searched by ordinary users in easydss video platform customization project
2022-06-24 12:43:00 【Tsingsee green rhino video】
TSINGSEE Qingxi video cloud edge Architecture EasyDSS Before the video platform, the user management and role management functions have been updated , Super administrators are free to create or delete users and roles , You can also search and manage all channel files , Ordinary users can only search the channel files assigned by themselves .
When testing the global search for files by ordinary users , We found that non super administrator users cannot search global files , And the error returned when calling the interface is shown in the following figure :
According to the error returned , We can see , It is an error report caused by the program's failure to correctly judge the user role .
We just need to add a simple judgment here , Through the judgment of user role , When the non super administrator role makes a global query , Query the files in all directories under this role .
Database query statement modification :
Page display after solution :
EasyDSS The video platform accesses the device or platform through rtmp Agreement to achieve , This protocol uses the streaming mechanism , Just support rtmp The protocol device can push the stream to EasyDSS above , Like mobile phone. 、 The computer 、 Unmanned aerial vehicle (uav) 、 Cameras and so on , Online classroom 、 The remote UAV can land in terms of streaming live broadcast and security .
Besides ,EasyDSS It also has rich secondary development interfaces , It can facilitate secondary development , Welcome to test .
边栏推荐
- How do websites and we media tap user needs? Deeply expose the secrets behind the keywords!
- Continuous testing | test process improvement: practice continuous testing within iterations in coding
- The programmer's graduation project is still bald after a year
- Do you really know "open source"? Please check [nanny level] open source Encyclopedia
- Babbitt | metauniverse daily must read: 618 scores have been announced. How much contribution has the digital collection made behind this satisfactory answer
- 99% of the students can't write good code because of this problem!
- 11+ article - machine learning builds Protics framework - deeply reveals the impact of tumor infiltrating immune cells in different molecular subtypes on prognosis
- The latest hot spot: the use of copper death related genes for tumor prognosis typing!
- How to make secruecrt more productive
- [2021 techo youth dry goods sorting post, there is always one you are interested in]
猜你喜欢

Mlife forum | microbiome and data mining
[mysql_16] variables, process control and cursors

Babbitt | metauniverse daily must read: 618 scores have been announced. How much contribution has the digital collection made behind this satisfactory answer

Opencv learning notes - regions of interest (ROI) and image blending

QT -- the qtabwidget supports dragging tabbar items

mLife Forum | 微生物组和数据挖掘

【数据挖掘】期末复习(样卷题目+少量知识点)

从《梦华录》的争议性,谈谈数字版权作品的价值泡沫

Parse NC format file and GRB format file dependent package edu ucar. API learning of netcdfall

微医CodeReview工具链
随机推荐
Dingding, Feishu, and enterprise wechat: different business approaches
The operation and maintenance boss laughed at me. Don't you know that?
Generate the NC file of 4-D air pressure and temperature, and then read the code (provide the code)
I'm in Shenzhen. Where can I open an account? Is it safe to open an account online now?
National standard platform easygbs administrator assigns roles to sub users and troubleshooting of invalid channels
使用开源工具 k8tz 优雅设置 Kubernetes Pod 时区
一纸英雄帖,激起千层浪,横跨10国,一线大厂都派人来了!-GWEI 2022-新加坡
11+ article - machine learning builds Protics framework - deeply reveals the impact of tumor infiltrating immune cells in different molecular subtypes on prognosis
【概率论期末抱佛脚】概念+公式(不含参数估计)
What should music website SEO do?
Opencv learning notes -- Separation of color channels and multi-channel mixing
Listed JD Logistics: breaking through again
The world's largest meat processor has been "blackmailed", how many industries will blackmail virus poison?
Pinduoduo press the user accelerator key
105. simple chat room 8: use socket to transfer pictures
RTMP streaming platform easydss video on demand interface search bar development label fuzzy query process introduction
[day ui] alert component learning
Data stack technology sharing: open source · data stack - extend flinksql to realize the join of flow and dimension tables
Hardware enterprise website ranking, 8 commonly used processes
LS-DYNA beginner's experience