Merge pull request #20209 from eileenmcnaughton/qfail
[civicrm-core.git] / CRM / Core / Permission / Soap.php
CommitLineData
40d837df
CW
1<?php
2/*
3 +--------------------------------------------------------------------+
bc77d7c0 4 | Copyright CiviCRM LLC. All rights reserved. |
40d837df 5 | |
bc77d7c0
TO
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
40d837df 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
40d837df
CW
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
40d837df
CW
16 */
17
18/**
19 *
20 */
21class CRM_Core_Permission_Soap extends CRM_Core_Permission_Base {
22
23 /**
100fef9d 24 * Given a permission string, check for access requirements
40d837df 25 *
6a0b768e
TO
26 * @param string $str
27 * The permission to check.
18be3201 28 * @param int $userId
40d837df 29 *
87a890cc 30 * @return bool
a6c01b45 31 * true if yes, else false
40d837df 32 */
18be3201 33 public function check($str, $userId = NULL) {
40d837df
CW
34 return TRUE;
35 }
96025800 36
40d837df 37}