Merge pull request #14591 from JKingsnorth/dev/core#1064
[civicrm-core.git] / CRM / Core / Permission / Soap.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
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 |
9 +--------------------------------------------------------------------+
10 */
11
12 /**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 * $Id$
17 *
18 */
19
20 /**
21 *
22 */
23 class CRM_Core_Permission_Soap extends CRM_Core_Permission_Base {
24
25 /**
26 * Given a permission string, check for access requirements
27 *
28 * @param string $str
29 * The permission to check.
30 * @param int $userId
31 *
32 * @return bool
33 * true if yes, else false
34 */
35 public function check($str, $userId = NULL) {
36 return TRUE;
37 }
38
39 }