feat(users): govern profiles and access
Normalize fixed profile fields, profile actions, and the five-column capability matrix for comments, uploads, and downloads.
This commit is contained in:
@@ -573,7 +573,7 @@ class Settings {
|
||||
/**
|
||||
* Private user-center display settings.
|
||||
*
|
||||
* @return array{tabs:string[],avatar_upload:bool,cover_upload:bool,social_links:bool}
|
||||
* @return array{tabs:string[]}
|
||||
*/
|
||||
public static function get_user_center_settings(): array {
|
||||
return UserRuntime::get_user_center_settings();
|
||||
@@ -705,7 +705,7 @@ class Settings {
|
||||
/**
|
||||
* Comment display and behavior settings.
|
||||
*
|
||||
* @return array{order:string,pagination_mode:string,nested_depth:int,require_login:bool,allow_reply:bool,avatar_size:int,empty_text:string}
|
||||
* @return array{order:string,pagination_mode:string,nested_depth:int,require_login:bool,avatar_size:int,empty_text:string}
|
||||
*/
|
||||
public static function get_comment_display_settings(): array {
|
||||
return PostDisplay::get_comment_display_settings();
|
||||
|
||||
Reference in New Issue
Block a user