File tree Expand file tree Collapse file tree 3 files changed +15
-11
lines changed
web/profiles/webspark/webspark Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 6868 "config" : {
6969 "sort-packages" : true
7070 },
71- "version" : " 2.15.2 "
71+ "version" : " 2.15.3 "
7272}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Webspark
22type : profile
33core_version_requirement : ^9.0 || ^10
44description : ' ASU custom profile.'
5- version : 2.15.2
5+ version : 2.15.3
66distribution :
77 name : ' Webspark'
88install :
Original file line number Diff line number Diff line change @@ -746,16 +746,20 @@ function webspark_update_10013(&$sandbox): void {
746746/**
747747 * WS2-2223 - Changed comments permissions and register: admin_only
748748 */
749+ // We cannot read in WHOLE role permissions after a site has been launched.
750+ // This overwrites user permissions that have been customized after the fact.
751+ // Commenting it out. New sites will get the new permissions. Existing sites can
752+ // apply manually.
749753function webspark_update_10014(&$sandbox): void{
750- \Drupal::state()->set('configuration_locked', FALSE);
751-
752- //Changed comments permissions
753- \Drupal::service('asu_config.config_manager')->updateConfigFile('user.role.authenticated');
754- \Drupal::service('asu_config.config_manager')->updateConfigFile('user.role.anonymous');
755- //Changed register: admin_only
756- \Drupal::service('asu_config.config_manager')->updateConfigFile('user.settings');
757-
758- \Drupal::state()->set('configuration_locked', TRUE);
754+ // \Drupal::state()->set('configuration_locked', FALSE);
755+ //
756+ // //Changed comments permissions
757+ // \Drupal::service('asu_config.config_manager')->updateConfigFile('user.role.authenticated');
758+ // \Drupal::service('asu_config.config_manager')->updateConfigFile('user.role.anonymous');
759+ // //Changed register: admin_only
760+ // \Drupal::service('asu_config.config_manager')->updateConfigFile('user.settings');
761+ //
762+ // \Drupal::state()->set('configuration_locked', TRUE);
759763}
760764
761765/**
You can’t perform that action at this time.
0 commit comments