original_string: private function GrantCreateLayout()
      {
          $groups = $this->GetGroups();
          foreach ($groups as $group)
          {
              if ($group->GetCreateLayouts())
              {
                  return GrantResult::Allowed();
              }
          }
          return GrantResult::NoAccess();
      }
code: private function GrantCreateLayout()
      {
          $groups = $this->GetGroups();
          foreach ($groups as $group)
          {
              if ($group->GetCreateLayouts())
              {
                  return GrantResult::Allowed();
              }
          }
          return GrantResult::NoAccess();
      }
code_tokens: private function GrantCreateLayout ( ) { $ groups = $ this -> GetGroups ( ) ; foreach ( $ groups as $ group ) { if ( $ group -> GetCreateLayouts ( ) ) { return GrantResult :: Allowed ( ) ; } } return GrantResult :: NoAccess ( ) ; }
docstring: Grant access to create a new layout by common group settings
  @return GrantResult
docstring_tokens: Grant access to create a new layout by common group settings