You've already forked AstralRinth
forked from didirus/AstralRinth
Fix project scheduling (#576)
* Fix project scheduling * fix comp * Fix again * Fix compile err * Fix compile err * Fix compile err * fix random err
This commit is contained in:
@@ -691,8 +691,8 @@ pub async fn version_schedule(
|
||||
)
|
||||
.await?;
|
||||
|
||||
if user.role.is_mod()
|
||||
|| team_member
|
||||
if !user.role.is_mod()
|
||||
&& !team_member
|
||||
.map(|x| x.permissions.contains(Permissions::EDIT_DETAILS))
|
||||
.unwrap_or(false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user