xiaomlove / nexusphp

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

problem or incomplete user_can ? #95

Closed Stargaterom closed 2 years ago

Stargaterom commented 2 years ago

cc @xiaomlove have a small question related to your change in the class authorization system because I don't know where we set the authorizations for user_can unless you haven't finished or are working on the page to measure their authorizations? I noticed a file permissions.php in lang resource with precisely the tractuction which looks a lot like Authority Settings with torrent approval etc ... so I think it will be linked to the new class management thank you for your understanding of all my questions

xiaomlove commented 2 years ago

User Permissions = Class Permissions + Role Permissions + Direct Permissions, Class Permissions is build in by defaults.

Stargaterom commented 2 years ago

I'm really sorry to have bothered you there is approval in the settings setting authorization permission I'm tired pfffff

good job