<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Custom permissions checker in Liferay 7</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=89340490" />
  <subtitle>Custom permissions checker in Liferay 7</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=89340490</id>
  <updated>2026-04-06T01:27:02Z</updated>
  <dc:date>2026-04-06T01:27:02Z</dc:date>
  <entry>
    <title>RE: Custom permissions checker in Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118322967" />
    <author>
      <name>Tomáš Polešovský</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118322967</id>
    <updated>2020-01-23T14:05:36Z</updated>
    <published>2020-01-23T14:05:36Z</published>
    <summary type="html">Works in 7.0 too. Just register a new PermissionCheckerFactory to create the custom permissions checker instances. &lt;br /&gt;&lt;br /&gt;​​​​​​​See &lt;a href="https://github.com/liferay/liferay-portal/blob/7.0.x/modules/apps/web-experience/staging/staging-security/src/main/java/com/liferay/staging/security/internal/permission/StagingPermissionCheckerFactory.java"&gt;https://github.com/liferay/liferay-portal/blob/7.0.x/modules/apps/web-experience/staging/staging-security/src/main/java/com/liferay/staging/security/internal/permission/StagingPermissionCheckerFactory.java&lt;/a&gt;</summary>
    <dc:creator>Tomáš Polešovský</dc:creator>
    <dc:date>2020-01-23T14:05:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom permissions checker in Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118314627" />
    <author>
      <name>Noel Abi Abdallah</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118314627</id>
    <updated>2020-01-22T10:21:11Z</updated>
    <published>2020-01-22T10:21:11Z</published>
    <summary type="html">Hi, do we still have this limitation in the latest version 7.2.0 GA2 ? </summary>
    <dc:creator>Noel Abi Abdallah</dc:creator>
    <dc:date>2020-01-22T10:21:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom permissions checker in Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=89564320" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=89564320</id>
    <updated>2017-05-17T18:31:00Z</updated>
    <published>2017-05-17T18:31:00Z</published>
    <summary type="html">No, you can&amp;#39;t currently define the permission checker in an OSGi bundle.  Rather than copying the lib in manually, though, this is actually a job for the EXT plugin which should be returning in GA4.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.eventbrite.com/e/liferay-symposium-north-america-2017-registration-28398031276"&gt;Come meet me at the 2017 LSNA!&lt;/a&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2017-05-17T18:31:00Z</dc:date>
  </entry>
  <entry>
    <title>Custom permissions checker in Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=89340489" />
    <author>
      <name>Enrico Costanzi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=89340489</id>
    <updated>2017-05-11T19:34:15Z</updated>
    <published>2017-05-11T19:34:15Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Is it possible to provide a Permissions Checker via osgi bundle?&lt;br&gt;&lt;br&gt;&lt;br&gt;With Liferay 6.2 we managed to use a different permissions checker by deploying an ext plugin. &lt;br&gt;The in portal-ext.properties we inserted the property&lt;br&gt;&lt;pre&gt;&lt;code&gt;permissions.checker=com.example.MyPermissionsChecker&lt;/code&gt;&lt;/pre&gt; and everything worked fine.&lt;br&gt;&lt;br&gt;With Liferay7 we weren't able to provide a permissions checker via OSGI, so we ended up  copying the bundle into the WEB-INF/lib of the ROOT app. &lt;br&gt;I hope there's a different way to achieve this, otherwise I don't get the choice of  exclude the ext plugins from Liferay 7. &lt;br&gt;I've heard that they will be reintroduced, but still, if there are custom classes as portal property values, how were these properties  supposed be used prior to the GA4? &lt;br&gt;&lt;br&gt;Don't mean to be rude or criticize, just pointing out few doubts &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif"&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Enrico Costanzi</dc:creator>
    <dc:date>2017-05-11T19:34:15Z</dc:date>
  </entry>
</feed>
