Merge pull request #23229 from pradpnayak/limitcontacts
[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 */
17
18 /**
19 *
20 */
21 class CRM_Core_Permission_Soap extends CRM_Core_Permission_Base {
22
23 /**
24 * Given a permission string, check for access requirements
25 *
26 * @param string $str
27 * The permission to check.
28 * @param int $userId
29 *
30 * @return bool
31 * true if yes, else false
32 */
33 public function check($str, $userId = NULL) {
34 return TRUE;
35 }
36
37 }