Skip to main content
UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
  • Platform
  • Resources
  • Community
  • Pricing
Public content by author Comment
    •  ·  Alex T⚜️
    •  ·  2021-01-31T23:30:43+0000

    I've just added ability to set custom condition in browse service - https://github.com/unaio/una/issues/3166

    So after next UNA update you will be able to use the following service block:

    array (
      'module' => 'bx_posts',
      'method' => 'browse_with_condition',
      'params' => 
      array (
        0 => 
        array (
          'mode' => 'author',
          'params' => 
          array (
            'author' => 10,
            'condition' => 
            array (
              'restriction' => 
              array (
                'public' => 
                array (
                  'field' => 'allow_view_to',
                  'operator' => '=',
                  'value' => 3,
                ),
              ),
            ),
          ),
        ),
      ),
    )
    • See older replies...
      •  ·  Alex T⚜️
      •  ·  In reply to

        S

        Scholar
      •  ·  2021-02-08T02:58:00+0000

       what about keyword search results? any chance to modify the setProcessPrivateContent so that it hides private content, instead of showing it with 'Access Denied' message?

      Such functionality isn't available for keyword search, we'll consider it for next major update - https://github.com/unaio/una/issues/3180

        •  ·  Genesis
        •  ·  In reply to
          Alex T⚜️
        •  ·  2021-05-06T23:47:44+0000

        Does this mean that there will be no more privacy errors?

          •  ·  LeonidS
          •  ·  In reply to
            Genesis
          •  ·  2021-05-07T07:58:18+0000

          Hello Genesis !

          Please specify which errors do you mean?

        See more...
        • Features
        • Pricing
        • Forum
        • Blog
        • Market
        • About
        • Copyright
        • Contact
        • Terms
        • Privacy
        • 𝕏
        Search
        UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
      • Platform
        • Features
        • Core CMS
      • Resources
        • Documentation
        • Marketplace
        • Discussions
        • Support Groups
        • API Reference
        • UNA CMS on GitHub
        • Webinars
        • Blog
      • Community
        • Discussions
        • Groups
        • Webinars
      • Pricing
      • Are you sure?
        Please, enter a value here