kingmo888 / rustdesk-api-server

基于Django的RustDesk Api&Web Server,除了支持api所有功能,还支持web注册、管理、展示等。已支持到最新1.3.1版本。
979 stars 220 forks source link

Missing groups #123

Closed SoftwareMagicIT closed 2 months ago

SoftwareMagicIT commented 3 months ago

Missing groups management image

kingmo888 commented 3 months ago

yes,It's not very useful.

SoftwareMagicIT commented 3 months ago

for me is useful, in my case. I think to pass all API in PHP because I need to remove web pages and use only api parts. I dont have time for seeing in django how I can make this. I have my dashboard and I implement authentication of my dashboard using address book data of thi implementation. Also I sseing for using web client in https with wss (i'm using let's encypt certificate on Apache2 web server. Thank you for your work. :-)

kingmo888 commented 3 months ago

I can't understand your purpose very well. Are you saying that you used PHP to create the dashboard, and you want to implement the corresponding PHP group interface based on my Django On the screenshot page you have shown, the role of a group is only to list the other users in the user group where the logged in user belongs.

kingmo888 commented 3 months ago

Because I haven't really used Rustdesk Pro, the functionality relies on guessing and creating my own based on my understanding of the client, so there will be many areas where I don't fully understand.

SoftwareMagicIT commented 3 months ago

Sorry, earlier I didn't use AI to translate what I wanted to say. No, I don't want to create a PHP API based on your Django. I have my own PHP dashboard for managing other things. Instead of having two different dashboards, I implemented the management in mine based solely on the DB tables after migrating everything from Sqlite to MySQL (MariaDB). However, the web management via Django is still active, which I don't want; I need to remove it. I thought it would be easier for me to drop yours project as soon as I could study how Rustdesk communicates to implement my API in PHP. Additionally, I'm looking into how to use ws:// with a proxy on Apache2 in TLS 3.

I need to use groups, and I need to have a single dashboard. In mine, I've also implemented two-factor authentication in my dashboard and added monitoring for customer's websites and web services, status of contract payments for helpdesk, expirations payment for other services my company provides and other things I need. We're a team of four persons, but we're not all in the same office; we're quite far apart from each other, and we have clients all over our country.

I hope I've explained myself better now!

kingmo888 commented 3 months ago

good What kind of functionality do you want to implement based on groups? I can assist you with some work.

SoftwareMagicIT commented 3 months ago

Thanks for your response. I was thinking that we could associate computers with groups and users with groups. When a user logs in, they see the groups they belong to and can only view the computers in the selected group. I'm not sure if this is feasible. By the way, I also have my own customized compilation of Rustdesk that uses my server, but I’m still not familiar enough with Rust to modify some parts. Additionally, the current version of Rustdesk uses Flutter for its graphical interface.

SoftwareMagicIT commented 3 months ago

Ehm, is possible to add option for disable dashboard and work only api? And I think you need rename settings.py to settings.py.sample because when I upgrade from repo, I need to remember make backup, before upgrade

kingmo888 commented 3 months ago

info#sXXXXXXXXXXXXXic.it is your email?

SoftwareMagicIT commented 3 months ago

yes

kingmo888 commented 3 months ago

I have already sent an email

SoftwareMagicIT commented 3 months ago

Email received

SoftwareMagicIT commented 2 months ago

Hello! Have you see my e-mail?