User Access Manager | GMAlex

User Access Manager

Description

With the “User Access Manager”-plugin you can manage the access to your posts, pages and files. You only create a user group, put registered users to this and set up the rights for this group. From now on the post/page is only accessible for the specified group. This plugin is useful if you need a member area or a private section at your blog.

Feature list

  • User groups
  • Set seperate access for readers and editors
  • Set access by user groups
  • Set access by post categories
  • User-defined post/page title (if no access)
  • User-defined post/page text (if no access)
  • User-defined comment text (if no access)
  • Hide complete post/page
  • Hide pages in navigation
  • Redirecting users to other pages (if no access)
  • Recursive locking of posts/pages
  • Limited access to uploaded files
  • Full integrated at the admin panel
  • Multilanguage support
  • Also proteced your rss feeds

Download User Access Manager from WordPress.org

If you like the User Access Manager, give me beer, or give my girlfriend a flower.
Make payments with PayPal - it's fast, free and secure!

Beschreibung

Mit dem “User Access Manager”-Plugin ist es möglich den Zugriff auf die Posts, Seiten und Dateien festzulegen. Es muss nur eine Benutzergruppe angelegt werden, dieser registrierte Nutzer zugewiesen und die Rechte für die Benutzergruppen gesetzt werden, schon ist die entsprechende Seite nur noch für die Benutzergruppe einsehbar. Das Plugin ist nützlich, wenn man einen geschlossenen Benutzer Bereich anlegen will oder einfach seine privaten Einträge nur einer eingeschränkten Benutzergruppe zugänglich machen möchte.

Feature Liste

  • Benutzer Gruppen
  • Seperater Zugriff für Leser und Autoren einstellbar
  • Zugriffsteuerung durch Benutzer Gruppen
  • Zugriffsteuerung durch Post Kategorien
  • Benutzerdefinierter Post/Seiten-Titel
  • Benutzerdefinierter Post/Seiten-Text
  • Benutzerdefinierter Kommentar-Text
  • Verstecken von ganzen Posts/Seiten
  • Verstecken der Seiten in der Navigation
  • Umleitung von Besuchern auf eine andere Seite
  • Rekursives sperren von Posts/Seiten möglich
  • Schützt hoch geladene Daten vor unbefugten Zugriff
  • Nahtlose Integration in das WordPress Admin-Panel
  • Mehrsprachig
  • RSS-Feed Filterung

Download User Access Manager from WordPress.org

436 Responses to User Access Manager

  1. This is a great plugin! Thank you for working on it!

    Is there a way to create a “guest” login where the administrator controls the password? Is seems that my guests can change the password.

    Thanks!


  2. Hallo Alex,

    müsste es in der Datei “UserAccessManager.class.php” in Zeile 1754 nicht…

    && $term->taxonomy == "category"

    …anstatt…

    && $term->taxonomy == “term”

    …heißen? Dann funktioniert nämlich das Ausblenden leerer Kategorien.


  3. My error logs are getting filled with this error that is coming from the User Access Manager plugin and I can’t figure out what is causing it.

    [07-Jul-2011 19:20:38] WordPress database error Table ‘dbname.DB_ACCESSGROUP_TO_POST’ doesn’t exist for query DELETE FROM DB_ACCESSGROUP_TO_POST
    WHERE post_id = 1132769 made by wp_delete_attachment, do_action, call_user_func_array, UserAccessManager->removePostData

    Looking around the web I see this popping up in error_log’s on a lot of sites. Just search google for DB_ACCESSGROUP_TO_POST and you will get servers that have their error_log files indexed by google. So it looks like a bug in the plugin. I looked through the code and can’t find a place where the constant DB_ACCESSGROUP_TO_POST is set. That is why DB_ACCESSGROUP_TO_POST is being placed in the query string.

    Here are the constants that are not defined in your code. This is dangerous because you are calling delete queries and using an undefined constant for the table name.

    – undefined constants –
    DB_ACCESSGROUP_TO_POST
    DB_ACCESSGROUP_TO_USER
    DB_ACCESSGROUP_TO_CATEGORY

    – defined constants –
    DB_ACCESSGROUP_TO_OBJECT
    DB_ACCESSGROUP

    I could create the tables myself and fix the code but I dont know what the tables look like. Should they just be pointing at the same table as DB_ACCESSGROUP_TO_OBJECT? There is a table for that constant.


  4. This really is a great plugin, and soo easy to use. I just have a couple of comments for future releases.
    It would be very helpful if we had a way to quickly add/remove group access to a post in a similar way to the post quick edit feature. We could then do a bulk edit of posts and just add/remove the required groups like we currently can for categories.
    Do you plan on including a group notification feature as part of UAM or maybe as a seperate plugin? It would be great to be able to notify users that a post they have access to has been updated or a new post added, instead of alerting everyone that the website has been updated.
    Is there also a possibility that this can also be applied to sidebar menus too? Different groups could then have different menus if required. I have no particular need for this right now, I currently use “widget logic”, but I could see it being very useful in the future.
    I use “register plus” on my site to restrict users to only those with an invitation code. It would be great if there was a UAM addon for this that would automatically put registered users into particular groups based on their invitation code.
    There are endless posibilities for this plugin……….because of UAM I want to learn so much more about php.


  5. I’m having the same problem as others with the redirect – “Setup what happen if a user visit a post/page with no access.” I have several pages that should only be viewable by certain groups. When someone who is not a group member tries to view one of those pages, I want to redirect him to a page that asks him to sign up for one of the groups. But no matter what I put in Settings > Redirect user, I get “Page Not Found” rather than the page I’ve specified.

    You say that it doesn’t work for completely hidden pages, but I think you’re misunderstanding the issue. The page that I’m trying to redirect TO is not hidden at all – it’s full access.

    Thank you for looking into this bug!!


  6. Hi,

    I have just found the UAM and the NG extension. In my blog I already have several galleries and albums, is there a way to easily set access to all existing galleries/albums to two specific user groups? I don’t really want to manually change every individual gallery.


  7. Hey Allex,

    Thanks for the plugin!

    I Imported a group of 230 users to my wordpress installation which I affiliated with a new role. I also have a uam group affiliated with that role but my users do not automatically get the same rights as the group has. Do you know how to fix that in a batch. If not can you tell me in which database table the user group per user is stored, I really can’t find it.

    Danke sehr!


  8. Hey Alex thanks again,

    If you could just tell me in which database table the assigned group is stored for a user I will find my way. I am quit in a hurry :)

    Thanks man / Danke sehr


  9. Hi,

    Nice plugin, but there is a bug within the user permissions. If the admin chooses to lockout a page reserved for a specific group, the admin can not publically view the page.

    Even as the admin has logged into the website, the plugin will not allow the admin to publically view the page outside of the reserved group. This occurred during one of the tests trying test group access rights.

    Thank you.


  10. If I restrict a main navigation entry, UAM restricts all the sub-entries under that which is awesome, however I need to ability to deselect (i.e. futher restrict) some pages on the sub-menu. The checkboxes are all locked thou so I can’t do anything with them.

    Regardless of whether this is by design or a bug, how do I get it to not do that.

    For example I have:

    Calendars
    – Faculty Calendar
    – Course Calendar
    – Executive Calendar

    I want all faculty group and executive group members to be able to see the faculty and course calendars but I only want the executive group to see the executive calendar.

    How do I make that happen without moving it to a top level menu item?????????????


  11. Dude – I can’t uninstall this thing? There is another user manager plug-in that looks like it will do what I need it to but your plug-in won’t uninstall

    Fatal error: Call to a member function uninstall() on a non-object in /somdomain.com/wp01/wp-content/plugins/user-access-manager/user-access-manager.php on line 285

    How do I get rid of it?


  12. Hi Alex, this plug in is really nice. Wondering if you might have a moment to answer a couple questions.

    1. Is it possible to continue to show the categories but still have them password protected? When I put a password on them, they disappear form the category list and I want the categories to remain visible (Tags too)

    2. It seems the direct to log in isn’t working, but I can handle that but changing the Not Found page message, so it’s not a huge deal.

    Thank you!

    msp


  13. Great plugin! It’s easy to set up and works perfectly! It’s exactly what I was looking for and greatly appreciate this plugin.

    Since the pages that I choose are locked, I presume that Google and other search engines will not be able to crawl the full pages so this polugin serves as a noindex, nofollow directive as well.

    Is that correct?


  14. Hallo Alex.
    Auch ich laufe immer wieder auf den 404-Fehler für komplett ausgeblendete Seiten. Wie? Ich bin eingeloggt und nutze ein Login/Logout auf der Seite… nach Logout auf einer entsprechend gesperrten Seite darf ich diese natürlich nicht mehr sehen, Redirect läuft nicht… also 404 Fehler. :.-(

    Eine andere Frage: Wenn ich in der Sidebar via PlugIn oder besser über diesen Code zuletzt aktualisierte Seiten und Posts anzeigen lassen möchte. Wie verhindere ich, daß solche gelistet werden, für die der User keine Berechtigung hat?


  15. Wie schon mehrfach erwähnt ist die Anzeige der 404 Seite für komplett gesperrte Seiten so vorgesehen… Nur bei Seiten die nicht komplett versteckt sind funktioniert das redirect. Die Gründe wurden auch schon mehrfach erläutert.


  16. Das Plugin ist toll, jetzt fehlt mir nur noch eine Idee wie ich – ohne weiteres Plugin – die letzten Kommentare einer geschützten Kategorie auch im Widget verstecken kann…..


  17. I am getting a lot of error messages in the admin with this plugin. Every time I reset a users role, or add a new user, I get errors like the following:

    WordPress database error: [Duplicate entry '1300-post-1' for key 'PRIMARY']
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ’1′, ’1300′, ‘post’ )

    Any ideas what could be causing this?


  18. Great plugin! That’s exactly what I was looking for, thank you so much!

    But is there a way I can check in the script if the post is public or private? Some posts are only available for a specific user group. I need to know in the script if the current post is for everybody or only for the specific user group. Do you have any code for that?

    Thanks!


  19. Hi,
    I have just found the UAM and also the NG extension. During my blog I curently have several galleries and albums, it is possible to way to easily set use of all existing galleries/albums to 2 specific user groups? I don’t actually want to manually change every person gallery.


  20. Hello.
    I have a problem with lock files. How do I enable a class to download the file?
    Thanks, cya

    Scott


  21. Hi, I see in previous post this question:

    “Is it possible to continue to show the categories but still have them password protected? When I put a password on them, they disappear form the category list and I want the categories to remain visible.”

    Didn´t find an answer.

    Is there any possibility, to bring categories visible in sidebar (wp_list_categories) after locking them?


  22. Great plugin!

    Is there a way to make it work with custom roles? I have a ‘manager’ role which needs to be able to create new user groups, but not have full admin privileges over the rest of the site.

    Any help is appreciated! Thanks.


  23. Julia, I have problem, but I get this error everytime when I publish or update post. Don’t know how to repair it. Help us, please.

    Error text:
    WordPress database error: [Duplicate entry '273-post-3' for key 1]
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ’3′, ’273′, ‘post’ )


  24. I can’t get the plug in to remove itself. The files / folder is no longer showing in my directory and yet it continues to be listed as a plugin that is not active and even when I activate it… it activates. WTF. I want to remove this plugin NOW. It is not suppose to be there. I am NOT happy with your plugin & I am going to file it as broken plus put a warning on the plugin


  25. Hi Thom,

    it’s a pity that you don’t like the plugin. But it’s a open source project and I write it in my free time. Now one force you to use or try it. The is no need to threaten me that you say it’s broken or that you going to warn for it, feel free to do so. Until there is now fix released you could remove it by hand, but it seems that you don’t know how. You haven’t paid for anything you use open source software. Normally people ask me in a normal way for help but not in this way… Sorry I have no understanding for that.


  26. @Julia and CutterRus: Could any one of you send me a database dump? I think than I could fix the bug. Thanks.


  27. Hi GM_Alex, have you found the solution for Julia’s problem? I’m having exactly the same error:
    WordPress database error: [Duplicate entry '3196-post-7' for key 'PRIMARY']
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ’7′, ’3196′, ‘post’ )

    and at the end:

    Warning: Cannot modify header information – headers already sent by (output started at /home/platne/aspire/public_html/aspire/wp-includes/wp-db.php:952) in /home/platne/aspire/public_html/aspire/wp-includes/pluggable.php on line 890


  28. No there is no solution for now. I guess what it could be, but to check this I need a database dump from any one with this problem.


  29. Could you give me a tip, please? It used to work properly, but then one day it crashed.


  30. If you send me a database dump I will have a look. I think there is a conflict with custom posts. Are you using custom post types?


  31. Yes, I’m using custom post types. I would send you my database dump, but I’ve got some confidential data in it. Where I can find your e-mail address?


  32. You could find my e-mail address here: http://www.gm-alex.de/about/


  33. Hi Alex,

    May i know what are the possible values for ‘object_type’ in your table wp_uam_accessgroup_to_object?

    So far i found there’re few possible values there such as: post, page, user, category, role.
    I want to know all possible values to migrate my data from your UAM version 0.9

    Thanks,


  34. Hi, nice work.
    Is there a way to remove the access to a user after a date ?
    I have a user within a group.
    Let’s say I add a custom field “End Date of suscribtion” to the user page. Then I want to remove the user from this group after this time.
    Any Idea ?
    Something with hooks when he logs to the restricted page and the date is superior than the “end of suscribtion” then unregister this user from the group (but i don’t know the php function from uam to do this)
    Or something different ?
    Thank you a lot .


  35. Hallo Alex,
    das PlugIn funktioniert soweit ganz gut – nur gibt’s irgendwie ein Problem beim einloggen bzw beim Aufrufen des Dashboard.
    Ich muss ja die WP-Rolle jedes Users auf KEINE setzten, damit die UAM-Gruppe funktioniert. Nur kann dann keiner sein Dashboard aufrufen, (welches ja auch beim Login automatisch angezeigt wird) weil immer die Meldung kommt, dass der User keine Rechte hierfür hat. Stelle ich wieder eine WP-Rolle ein, sind automatisch alle UAM Gruppen aktiviert.
    Gibt’s hierfür eine Lösung? Ich nutze im Übrigen das Suffusion theme by Sayontan Sinha (falls das eine Rolle spielt).

    Gruß
    asomy


  36. Hallo nochmal,

    ich habe grad herausgefunden, dass dieser Fehler nur bei WP-Rolle Abonnent auftritt. Wenn der User Mitarbeiter oder Autor ist, kann man die Checkboxen beim Bearbeiten der Benutzer wieder aktivieren bzw deaktivieren. Bei Abonnent sind die Boxen leider ausgegraut.

    Gruß
    asomy


  37. Hallo Alex,
    zuerst: vielen dank für das super plugin, ich hab schon verschiedene ausprobiert, UAM ist aber klar das beste.
    Ich habe festegestellt, das es ein problem mit Google Doc Embedder gibt, wenn Rechte mit UAM gesetzt wurden. Google docs kann die Dokumente nicht darstellen, obwohl rechte für den Post und die Datein richtig gesetzt sind. Woran könnte das liegen?
    danke und grüsse, jan


  38. Hi Alex,
    bitte lösche meinen ersten kommentar, ich hab das problem lösen können – habe die “datei-einstellungen” auf “nein” geändert, so dass es kein htaccess file für dateien gibt. Das Problem scheint bei dem GDE-plugin zu liegen – da von UAM aus vorher auch keine rechte für dateien vergeben waren (soll heissen, die datei konnte einfach heruntergeladen werden).
    Aber vielen Dank!


  39. Hi Alex,

    I’m using UAM on a site and am writing a plugin that also sets a manage_users_custom_column. My plugin is running before UAM and the value is being cleared by UserAccessManager:addUserColumn. The problem is that you are not returning the first argument as a result when the column is not ‘uam_access’. The fix is to add else return $empty; I’ve applied this to my copy and tested it.

    Thanks/peter


  40. Hi Alex, me again

    I just tried adding a post and got the same Duplicate key problem that has been reported earlier by Julia and others. The post works fine if debug=false. The Duplicate Key error is causing the server to complain about the headers already sent. The record was inserted and something is trying to insert it a second time

    I’ll take a look and see if I can find the cause of the duplicate insert.


  41. Thank you so much for creating this outstanding plugin. I’m using WordPress as a tool for students in Higher Education, and in this learning process it’s so important to give students an environment that’s stripped of all the features I don’t want them to use.

    I’ll tell you, your plugin actually made me throw away four other plugins that all try to fix part of the problem you are handling so perfectly. Using only your plugin gives me more sense of control.

    I’m using this in perfect combination with UAM, and I’m not the only one, as I understand from these comments.

    So, here it comes, my last two modest wishes:
    1. I can’t get rid of this ‘your using an unsafe browser’ message, that appears on the dashboard, using WordPress in IE.
    2. What’s the deal with this ‘updates’ menu? I can’t seem to turn it of without also restricting users to add any regular new post. These things, postings and updates, are somehow interlaced. You might know a solution to turn this updates feature off for certain userlevels, or maybe someone could explain to me how to put this updates feature to my advantage. I just don’t get it, what the point of this feature should be.


  42. Alexander,

    Do you have any documentation besides this page[1] and the entry in the WordPress plugin directory[2]?

    Thank you,
    James

    [1] http://www.gm-alex.de/projects/wordpress/plugins/user-access-manager/
    [2] http://wordpress.org/extend/plugins/user-access-manager/


  43. Hi there,

    Firstly, I want to say thank you for this great plugin.
    Secondly, I think I found some typo mistake in Settings / Author settings, see below:
    1. Authors can add content to **there** own groups Yes No
    2. If “Yes” is selected author are able to restrict the content by adding it to **there** groups.
    I suppose it must be “their” :)

    Thanks, again :)!


  44. Alex – It’s been a while since I’ve been able to get back to this issue, and I’m wondering if you’ve been able to make any headway on a solution to the error messages:
    WordPress database error: [Duplicate entry '1300-post-1' for key 'PRIMARY']
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ’1′, ’1300′, ‘post’ )

    Do you still need a database dump?

    And I’m not using the Custom Post Types plugin.

    Thank you!

    Also, I’m wondering if there’s a way to view all the users in a particular UAM group …


  45. Hi Alex,
    ohne Dein Plugin wäre ich fast verzweifelt.
    Ich benötigte genau DAS, um Hochzeitspaaren einen passwortgeschützten Bereich auf meiner page zur Verfügung stellen zu können.

    Eine Frage hab ich: Kann ich verschiedene Benutzergruppen mit unterschiedlicher Zugangsberechtigung für einen anderen Link auf derselben Seite anlegen? Das habe ich nämlich nicht geschafft…
    Oder benötigt man für eine neue Benutzergruppe eine neue Seite? Oder geht das gar nicht?
    Wäre natürlich super, wenn ich ein feedback kriegen würde.

    Grüssle Michael


  46. If I assign an attachment to a group, all attachments in media library of its page is assigned to the same group. This is wrong, how can I assign only one attachment to a group?

    I think it’s depend because there is a strange beaviour when I click on group checkbox: all checkbox f all attachment changes status!

    Plese Help Me


  47. I would like to give select access to video posts. I am using the Vidley Theme from Press75.

    In the Settings section of UAM I am able to hide the text portion of the post, but the video is still on the post page and can be played by anyone. Is there anyway to hide the video itself and leave just the Title and alternate text?

    Since I was unable to hide the video, I tried disabling it with the ‘Lock Files’ feature. Not sure what that is suppose to do, but it didn’t work. Next I tried redirecting to a sign in page using the ‘redirect user’ feature, but that didn’t work either…. still get redirected to “Sorry, but you are looking for something that isn’t here.” Any suggestions? Any alternative plugins out there? Anybody? Thanks. Btw.. I don’t know html language.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">