Version 5.0.13

This commit is contained in:
Neo committed 2025-12-19 19:04:57 -08:00
1 parent b89858b2ff
commit 5efe744c5f
1407 files changed
+69690 -30177

No files matched your search

+6
View File
@@ -75,6 +75,12 @@ trait FuturePublishing
*/
public function canPublish( ?Member $member=NULL, ?Model $container = NULL ): bool
{
/* Extensions go first */
if( $permCheck = Permissions::can( 'publish', $this, $member ) )
{
return ( $permCheck === Permissions::PERM_ALLOW );
}
if( !$this->actionEnabled( 'publish', $member ) )
{
return false;