<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged permissions</title>
<link>https://www.question2answer.org/qa/tag/permissions</link>
<description>Powered by Question2Answer</description>
<item>
<title>Incorrect evaluation of voting permissions</title>
<link>https://www.question2answer.org/qa/85886/incorrect-evaluation-of-voting-permissions</link>
<description>

&lt;p&gt;On my forum I'm trying to configure the following voting permissions:&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;Upvote questions: all registered users&lt;/li&gt;

&lt;li&gt;Upvote answers: registered users with at least 25 points&lt;/li&gt;

&lt;li&gt;Downvote questions and answers: registered users with at least 50 points&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;However, the settings don't seem to work the way I expected. Instead, the downvote permissions apply to upvotes too. Is that intentional? (looks like a bug to me)&lt;/p&gt;

&lt;p&gt;And how/where would I fix that?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/85886/incorrect-evaluation-of-voting-permissions</guid>
<pubDate>Fri, 10 Jul 2020 18:24:29 +0000</pubDate>
</item>
<item>
<title>Login required to view any content - 1.8.3</title>
<link>https://www.question2answer.org/qa/82225/login-required-to-view-any-content-1-8-3</link>
<description>

&lt;p&gt;Hey folks,
&lt;br&gt;
&lt;br&gt;I'm looking for an option to hide content from non-logged in users.
&lt;br&gt;
&lt;br&gt;I checked these topics:&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;&lt;a href=&quot;https://www.question2answer.org/qa/15629/login-required-to-view-any-content-1-5-2&quot; rel=&quot;nofollow&quot;&gt;https://www.question2answer.org/qa/15629/login-required-to-view-any-content-1-5-2&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href=&quot;https://www.question2answer.org/qa/4316/how-to-require-login-to-view-any-content&quot; rel=&quot;nofollow&quot;&gt;https://www.question2answer.org/qa/4316/how-to-require-login-to-view-any-content&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href=&quot;https://www.question2answer.org/qa/18625/is-it-possible-to-hide-all-questions-for-anonymous-users&quot; rel=&quot;nofollow&quot;&gt;https://www.question2answer.org/qa/18625/is-it-possible-to-hide-all-questions-for-anonymous-users&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;It seems to me it was possible to achieve desired behavior programmatically only.
&lt;br&gt;
&lt;br&gt;Is it the same situation now? Any additional UI config was introduced since then?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/82225/login-required-to-view-any-content-1-8-3</guid>
<pubDate>Wed, 25 Mar 2020 15:13:53 +0000</pubDate>
</item>
<item>
<title>how to use function function qa_admin_permit_options($widest, $narrowest, $doconfirms = true, $dopoints = true)</title>
<link>https://www.question2answer.org/qa/70879/qa_admin_permit_options-%24narrowest-%24doconfirms-%24dopoints</link>
<description>

&lt;p&gt;I am trying to use the function&amp;nbsp;&lt;/p&gt;

&lt;pre&gt;qa_admin_permit_options($widest, $narrowest, $doconfirms = true, $dopoints = true)&lt;/pre&gt;

&lt;p&gt;&amp;nbsp;in my code.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;I tried&amp;nbsp;&lt;/p&gt;

&lt;pre&gt;$permitoptions=qa_admin_permit_options(QA_PERMIT_ALL, QA_PERMIT_SUPERS, false, true); &lt;/pre&gt;

&lt;p&gt;It works well but when I click on the `registered users with enough points` it doesn't show the field to enter the amount of points.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/70879/qa_admin_permit_options-%24narrowest-%24doconfirms-%24dopoints</guid>
<pubDate>Thu, 20 Dec 2018 20:06:52 +0000</pubDate>
</item>
<item>
<title>Category wise access control</title>
<link>https://www.question2answer.org/qa/67321/category-wise-access-control</link>
<description>In my company there are few department like IT, Developer, Marketing, Commercial, Finance etc. What I need is to restrict departmental question within the users those are added to the department. Such as if a question is asked with &amp;quot;IT&amp;quot; category then the question is only visible to the users those have the permission to &amp;quot;IT&amp;quot; category.&lt;br /&gt;
&lt;br /&gt;
N.B. I never got any answer from this forum earlier :(</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/67321/category-wise-access-control</guid>
<pubDate>Tue, 18 Sep 2018 04:32:59 +0000</pubDate>
</item>
<item>
<title>How to create multiple admins?</title>
<link>https://www.question2answer.org/qa/63507/how-to-create-multiple-admins</link>
<description>

&lt;p&gt;I would like to know how can be possible to &lt;strong&gt;create 2,3,4 etc admins&lt;/strong&gt;, plus can I manipulate points and level of accounts? Thanks you, your CMS is amazing, really appreciate you made it open for all of us.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/63507/how-to-create-multiple-admins</guid>
<pubDate>Sat, 14 Apr 2018 15:44:04 +0000</pubDate>
</item>
<item>
<title>How to let moderators assign bonus points to users?</title>
<link>https://www.question2answer.org/qa/62450/how-to-let-moderators-assign-bonus-points-to-users</link>
<description>

&lt;p&gt;In &lt;strong&gt;/qa-include/pages/user-profile.php&lt;/strong&gt; you see that bonus points can only be assigned by admins. q2a 1.8.0&lt;/p&gt;

&lt;p&gt;There is no option under /admin/permissions to change this, yet.&lt;/p&gt;

&lt;p&gt;The hack you need so that moderators can assign bonus points:&amp;nbsp;&lt;/p&gt;

&lt;p&gt;1. Open&amp;nbsp;/qa-include/pages/user-profile.php
&lt;br&gt;2. Find line:&amp;nbsp;
&lt;br&gt;if ($loginlevel &amp;gt;= QA_USER_LEVEL_ADMIN &amp;amp;&amp;amp; qa_clicked('dosetbonus')) {
&lt;br&gt;3. Change it to:&amp;nbsp;
&lt;br&gt;if ($loginlevel &amp;gt;= QA_USER_LEVEL_MODERATOR &amp;amp;&amp;amp; qa_clicked('dosetbonus')) {
&lt;br&gt;4. Find line:&amp;nbsp;
&lt;br&gt;if ($loginlevel &amp;gt;= QA_USER_LEVEL_ADMIN) {
&lt;br&gt;5. Change it to:
&lt;br&gt;if ($loginlevel &amp;gt;= QA_USER_LEVEL_MODERATOR) {
&lt;br&gt;6. Upload file to your server.&lt;/p&gt;

&lt;p&gt;Now it works.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;It would be great if the core could integrate such a permission.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Note: If you have plugins that change the user profile, make sure to reflect those changes there too.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/62450/how-to-let-moderators-assign-bonus-points-to-users</guid>
<pubDate>Sun, 18 Feb 2018 09:04:40 +0000</pubDate>
</item>
<item>
<title>Best practice for different user levels on multiple sites - but shared user database</title>
<link>https://www.question2answer.org/qa/62370/practice-different-levels-multiple-sites-shared-database</link>
<description>The user database is shared over several q2a instances (A, B, C, D).&lt;br /&gt;
&lt;br /&gt;
Goal:&lt;br /&gt;
&lt;br /&gt;
- User 101 should become administrator of *only* forum A.&lt;br /&gt;
&lt;br /&gt;
- User 102 should become administrator of *only* forum B.&lt;br /&gt;
&lt;br /&gt;
- User 103 should become administrator of forums A, B and C.&lt;br /&gt;
&lt;br /&gt;
As I can see, the central user database qa_users has one field &amp;quot;level&amp;quot; that obviously is valid over all instances.&lt;br /&gt;
&lt;br /&gt;
So what is the best practice to have different levels for each instance?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/62370/practice-different-levels-multiple-sites-shared-database</guid>
<pubDate>Tue, 13 Feb 2018 07:27:54 +0000</pubDate>
</item>
<item>
<title>Extended permissions/privileges</title>
<link>https://www.question2answer.org/qa/58484/extended-permissions-privileges</link>
<description>

&lt;p&gt;Trying to limit the users who shouldn't have permissions to move answers to comments some users should have permissions to do this (admins, moderators). I have located the area of code that would allow this in file qa_include\pages\question-post.php line 712 to 720. I have also figured out the permissions I would like&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;if ( (!QA_FINAL_EXTERNAL_USERS) &amp;amp;&amp;amp; qa_opt('moderate_users') &amp;amp;&amp;amp; ($level&amp;gt;=QA_USER_LEVEL_MODERATOR)) {&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;but I would like more control of this through the permissions tab of the admin control panel&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Any suggestions ? Could this be added to 1.8&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/58484/extended-permissions-privileges</guid>
<pubDate>Thu, 13 Jul 2017 01:48:43 +0000</pubDate>
</item>
<item>
<title>How does check user permission for flag a post?</title>
<link>https://www.question2answer.org/qa/56930/how-does-check-user-permission-for-flag-a-post</link>
<description>I used below one. it's not working.&lt;br /&gt;
&amp;nbsp;`$row = qa_post_get_full($postid);`&lt;br /&gt;
&amp;nbsp;` qa_user_maximum_permit_error('permit_view_voters_flaggers',$row);`</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/56930/how-does-check-user-permission-for-flag-a-post</guid>
<pubDate>Sat, 25 Mar 2017 14:06:13 +0000</pubDate>
</item>
<item>
<title>how to maintain permission level for different types of users?</title>
<link>https://www.question2answer.org/qa/56766/how-to-maintain-permission-level-for-different-types-users</link>
<description>i saw `Permission level for different types of users:`&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_ALL', 150);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_USERS', 120);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_CONFIRMED', 110);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_POINTS', 106);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_POINTS_CONFIRMED', 104);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_APPROVED', 103);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_APPROVED_POINTS', 102);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_EXPERTS', 100);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_EDITORS', 70);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_MODERATORS', 40);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_ADMINS', 20);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define('QA_PERMIT_SUPERS', 0);&lt;br /&gt;
&lt;br /&gt;
when i do registration, it inserted `0` in `level` column in `users` table. which is conflicting the upper permission. which one is correct? or how i can manage permission for different types of users?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/56766/how-to-maintain-permission-level-for-different-types-users</guid>
<pubDate>Fri, 17 Mar 2017 07:24:56 +0000</pubDate>
</item>
<item>
<title>Is it possible to hide content for users who are not logged in?</title>
<link>https://www.question2answer.org/qa/56549/is-it-possible-to-hide-content-for-users-who-are-not-logged-in</link>
<description>I would like to know if there is possibility in admin or in any other way to hide forum content if the user is not registered (or logged in). One way would be maybe integration with wordpress and using wordpresss functions but I would like to know if there is some more generic solution. Thank you :)</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/56549/is-it-possible-to-hide-content-for-users-who-are-not-logged-in</guid>
<pubDate>Sun, 05 Mar 2017 03:07:45 +0000</pubDate>
</item>
<item>
<title>Administration center - Permissions</title>
<link>https://www.question2answer.org/qa/56092/administration-center-permissions</link>
<description>

&lt;p&gt;Hello everyone i found one bug in &quot;Administration center - Permissions&quot;&lt;/p&gt;

&lt;p&gt;see the pictures:&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;screem page&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=15891463957667776428&quot; style=&quot;height:122px; width:600px&quot;&gt;&lt;/p&gt;

&lt;p&gt;this page normal adm&amp;gt;permissions and i did login,&amp;nbsp;but when i&amp;nbsp;check and save this options,&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:12px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif&quot;&gt;&quot;Viewing question pages:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:rgb(34, 34, 34); font-family:consolas,lucida console,courier new,monospace&quot;&gt;Registered users.&quot;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:rgb(34, 34, 34); font-family:consolas,lucida console,courier new,monospace; font-size:12px&quot;&gt;in other browser, this is happen:&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:rgb(34, 34, 34); font-family:consolas,lucida console,courier new,monospace; font-size:12px&quot;&gt;&lt;img alt=&quot;not-login&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=10872220662300914879&quot; style=&quot;height:109px; width:600px&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;i yet see the page, even without being connected in system.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:rgb(34, 34, 34); font-family:consolas,lucida console,courier new,monospace; font-size:12px&quot;&gt;how do i fix it?&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/56092/administration-center-permissions</guid>
<pubDate>Thu, 02 Feb 2017 13:42:58 +0000</pubDate>
</item>
<item>
<title>How to limit access for some categories?</title>
<link>https://www.question2answer.org/qa/56055/how-to-limit-access-for-some-categories</link>
<description>Example,&lt;br /&gt;
&lt;br /&gt;
Only USER_IT permission is enable to see questions and answers from categorie &amp;nbsp;IT</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/56055/how-to-limit-access-for-some-categories</guid>
<pubDate>Mon, 30 Jan 2017 08:27:06 +0000</pubDate>
</item>
<item>
<title>Changing Question Viewing Permission</title>
<link>https://www.question2answer.org/qa/55845/changing-question-viewing-permission</link>
<description>I have changed the permissions to access the questions page to &amp;quot;Registered Users with email confirmed&amp;quot;; however, I am still able to view the questions page online without logging in as a registered user. &amp;nbsp;How can I apply these changes so that unregistered users are not able to access the site?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/55845/changing-question-viewing-permission</guid>
<pubDate>Tue, 17 Jan 2017 23:49:35 +0000</pubDate>
</item>
<item>
<title>Only moderators can see the wall</title>
<link>https://www.question2answer.org/qa/55613/only-moderators-can-see-the-wall</link>
<description>Hi &lt;br /&gt;
I write what i want :/&lt;br /&gt;
Only the modertors and admins can see the wall and only they can write it to there. I want comment about user.&lt;br /&gt;
&lt;br /&gt;
Please say it can be thx to community</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/55613/only-moderators-can-see-the-wall</guid>
<pubDate>Mon, 02 Jan 2017 14:12:00 +0000</pubDate>
</item>
<item>
<title>How to view who voted?</title>
<link>https://www.question2answer.org/qa/54858/how-to-view-who-voted</link>
<description>Is it possible for admin to see who voted up &amp;amp; down?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/54858/how-to-view-who-voted</guid>
<pubDate>Wed, 16 Nov 2016 18:58:51 +0000</pubDate>
</item>
<item>
<title>Is there a way for users with no special priviledges to see who voted?</title>
<link>https://www.question2answer.org/qa/54745/is-there-way-for-users-with-special-priviledges-see-who-voted</link>
<description>

&lt;p&gt;Well there is an option for that in the permissions section but it's limited to experts, editors, moderators and admins only &lt;img title=&quot;frown&quot; alt=&quot;frown&quot; src=&quot;http://question2answer.org/qa/qa-plugin/wysiwyg-editor/ckeditor/plugins/smiley/images/confused_smile.png&quot; style=&quot;height:23px; width:23px&quot;&gt; and in my case there's just no need for it.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/54745/is-there-way-for-users-with-special-priviledges-see-who-voted</guid>
<pubDate>Sat, 12 Nov 2016 03:46:41 +0000</pubDate>
</item>
<item>
<title>Only users with enough points can see any answers?</title>
<link>https://www.question2answer.org/qa/53678/only-users-with-enough-points-can-see-any-answers</link>
<description>I want to hide answers. Only users with enough points can see any answers&lt;br /&gt;
&lt;br /&gt;
Help me! Thanks.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/53678/only-users-with-enough-points-can-see-any-answers</guid>
<pubDate>Fri, 09 Sep 2016 08:34:19 +0000</pubDate>
</item>
<item>
<title>Recategorizing questions is not possible for users with enough points</title>
<link>https://www.question2answer.org/qa/43101/recategorizing-questions-possible-users-with-enough-points</link>
<description>

&lt;p&gt;In administration center---&amp;gt;Permissions I have set :&lt;/p&gt;

&lt;p&gt;Recategorizing any question: registered users with enough points, users must have 1000 points.&lt;/p&gt;

&lt;p&gt;But now when a user&amp;nbsp;gain 1000 points and wants to recategorize a question get this error:&amp;nbsp;&lt;span style=&quot;color:#FF0000&quot;&gt;Please provide more information- at least 20 characters.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;could anyone help me please?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/43101/recategorizing-questions-possible-users-with-enough-points</guid>
<pubDate>Wed, 21 Jan 2015 07:11:39 +0000</pubDate>
</item>
<item>
<title>Allowing only one specific user to edit answers and comments</title>
<link>https://www.question2answer.org/qa/40890/allowing-only-one-specific-user-to-edit-answers-and-comments</link>
<description>

&lt;p&gt;
	Hi everyone, I have a special case where only one specific user should (next to the admin) get the right to edit all answers and posts. But he should not get admin rights.&lt;/p&gt;


&lt;p&gt;
	I have already used all available rangs from Editor, Moderator, etc. He should stay moderator together with some other users.&lt;/p&gt;


&lt;p&gt;
	The way I have to go now is to change the core to permit his userid to edit A and C.&lt;/p&gt;


&lt;p&gt;
	How I am doing it:&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;qa-app-users.php&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	After line:&lt;/p&gt;


&lt;p&gt;
	$error=qa_permit_error($permitoption, $userid, qa_get_logged_in_level(), $flags);&lt;/p&gt;


&lt;p&gt;
	I added:&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($userid==123 &amp;amp;&amp;amp; $error == 'level') {
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return false;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	because a level error would be thrown otherwise.&lt;/p&gt;


&lt;p&gt;
	Any other idea how to solve this?&lt;/p&gt;


&lt;p&gt;
	Thanks,
&lt;br&gt;
	Kai&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/40890/allowing-only-one-specific-user-to-edit-answers-and-comments</guid>
<pubDate>Sat, 08 Nov 2014 06:19:15 +0000</pubDate>
</item>
</channel>
</rss>