xiaomlove / nexusphp

A private tracker application base on NexusPHP
https://nexusphp.org
GNU General Public License v2.0
873 stars 178 forks source link

Recommended Movie: class moderator ? #107

Closed Stargaterom closed 1 year ago

Stargaterom commented 1 year ago

hello @xiaomlove ,

only the leader and sysop have access to the movie recommended on the edit.php page.

here is the leader staff and sysop: edit torrent pick grade leader staff sysop

here the administrator and moderator: edit torrent pick moderator

I want to be able to modify the Recommended Movies would it be possible to have access from the class moderator.

because I even changed the promotion permissions in Website Settings and I still don't see Recommended Movie:

authority setting

could help you to modify this authorization by indicating where I can change the class cordially

Stargaterom commented 1 year ago

its good i solved the problem the change is done on takeedit.php and edit.php see the file App\Models\User for the class.

edit.php = edit php

takeedit.php :

takeedit

xiaomlove commented 1 year ago

It turns out that users who have torrent management permission and are pickers have permission to set it. Picker

Later, for convenience, it was added that sysop also has privileges

Stargaterom commented 1 year ago

okay hadn't seen this option in userdetail of user because my translation was not good so I just reset to original state and set to yes and yes it works it displays well on the edit.php page thank you for your help on this subject