Description

AUL(Access User Lists) is very similar to the ACL(Access Control Lists). The difference that AUL creates access per user and adds nodes to it(ACL works vice versa. It creates grand per node and adds users).

AUL module can be usefull when logic in content access in your site is wery hard and you don't want to create lots of grants per each user because it slows page load and causes long queries.

With AUL you can create for example just 3 realms for each user (one for view, one for edit, one for delete) and than add nodes to your AUL.
Using AUL we move our big list of access "locks" in node_access table. But hook_node_access_records will work quickly and we won't have long queries with access conditions because we don't have many access "keys".

Project link

http://drupal.org/sandbox/milkovsky/1958676

git repository

git clone --branch 7.x-1.x milkovsky@git.drupal.org:sandbox/milkovsky/1958676.git aul
cd aul

URL to git repository: http://git.drupal.org/sandbox/milkovsky/1958676.git

Manual reviews of other projects:
none

Comments

a.milkovsky’s picture

Status: Needs work » Needs review

needs review

PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxmilkovsky1958676git

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

a.milkovsky’s picture

Status: Needs work » Needs review

refactored. needs review

SamChez’s picture

Status: Needs review » Needs work

It seems you are still working in the master branch. For information on how to change that click here.

a.milkovsky’s picture

Status: Needs work » Needs review

thanks,
swiched to 7.x-1.x branch, deleted master branch

balintcsaba’s picture

Status: Needs review » Needs work

Hi a.milkovsky,

You deleted the master branch but you forgot to update the description of your issue.

balintcsaba’s picture

Issue summary: View changes

fix "we won't have long queries with access conditions because we don't have many access "keys"."

a.milkovsky’s picture

Status: Needs work » Needs review

balintcsaba, you are absolutely right. thanks!
updated

a.milkovsky’s picture

Issue summary: View changes

git clone --branch 7.x-1.x milkovsky@git.drupal.org:sandbox/milkovsky/1958676.git aul
cd aul

manuelBS’s picture

Status: Needs review » Reviewed & tested by the community

Just reviewed the module. It does exactly what is the project description. we are already using it in production in an ERPAL system

manuelBS’s picture

Issue summary: View changes

URL to git repository

a.milkovsky’s picture

Issue summary: View changes

Reviews of other projects 1

a.milkovsky’s picture

Issue summary: View changes

Reviews of other projects 2

a.milkovsky’s picture

Issue summary: View changes

Reviews of other projects 3

a.milkovsky’s picture

Issue summary: View changes

Reviews of other projects 4

a.milkovsky’s picture

Issue summary: View changes

spelling

a.milkovsky’s picture

Issue summary: View changes

p

a.milkovsky’s picture

Issue summary: View changes

br

a.milkovsky’s picture

Issue summary: View changes

br

a.milkovsky’s picture

Issue summary: View changes

p

a.milkovsky’s picture

Issue tags: +PAreview: review bonus

get on the high priority review list

a.milkovsky’s picture

Issue summary: View changes

p

klausi’s picture

Issue tags: -PAreview: review bonus

Removing review bonus tag, you have not done any manual review, you just posted the output of an automated review tool. Make sure to read through the source code of the other projects, as requested on the review bonus page.

I also removed the automated review comments from the issue summary.

klausi’s picture

Issue summary: View changes

removed automated reviews.

a.milkovsky’s picture

Issue summary: View changes

2 reviews

a.milkovsky’s picture

Issue tags: +PAreview: review bonus

PAReview: review bonus

PA robot’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
Multiple Applications
It appears that there have been multiple project applications opened under your username:

Project 1: http://drupal.org/node/1985798

Project 2: http://drupal.org/node/1961032

As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).

If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.

I'm a robot and this is an automated message from Project Applications Scraper.

a.milkovsky’s picture

Status: Closed (duplicate) » Reviewed & tested by the community

opened again. I closed other project

klausi’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: -PAreview: review bonus

manual review:

  1. aul_create_new_aul() is just a duplicate of aul_create_aul() and could be removed?
  2. aul_add_node(): you could use db_merge() then you don't have to run the select query beforehand.
  3. aul_node_access_records(): you are invoking hook_enabled() here, what is that? Do you mean hook_enable()? Is that a hook that your module provides? Hooks that are provided by a module should be documented in MODULENAME.api.php, see http://drupal.org/node/161085#api_php . And all your hooks should be prefixed with your module's name.
  4. Documentation is missing - how is a module supposed to use your API? What does it have to implement? Please provide an example.

Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.

klausi’s picture

Issue summary: View changes

review 3

a.milkovsky’s picture

Status: Needs work » Active

Thanks.

aul_create_new_aul() is just a duplicate of aul_create_aul() and could be removed?
aul_add_node(): you could use db_merge() then you don't have to run the select query beforehand.

  1. Removed aul_create_new_aul(obsolete).
  2. aul_add_node() refactored to use db_merge()

Documentation is in progress

klausi’s picture

Status: Active » Needs review

You need to set the status to "needs review" if you want to get a review, see https://drupal.org/node/532400

a.milkovsky’s picture

Thanks. Documentation is still in progress.

kscheirer’s picture

Title: [D7] AUL(Access User Lists) » [D7] AUL (Access User Lists)
Status: Needs review » Reviewed & tested by the community

You have a typos on your project page and README, "grand per node" should be "grants per node", "usefull" should be "useful", "wery" should be "very". You should always include a space before an opening parenthesis (it's a lot clearer this way). This is(hard to read).

There's no user interface and the module doesn't do anything by itself, you should make a note of that on the project page.

You have a few formatting issues listed here: http://ventral.org/pareview/httpgitdrupalorgsandboxmilkovsky1958676git.

Since your module is providing an API for others to use, your documentation should address that. See Module documentation guidelines.

No other issues found, and those seem minor.

----
Top Shelf Modules - Enterprise modules from the community for the community.

kscheirer’s picture

Status: Reviewed & tested by the community » Fixed

Well, all of the above still applies. Also, don't trust drupal_write_record() so much - it can fail silently in many cases. Since we're in D7 now you may want to support entities instead of nodes.

Thanks for your contribution, a.milkovsky!

I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Thanks to the dedicated reviewer(s) as well.

----
Top Shelf Modules - Crafted, Curated, Contributed.

a.milkovsky’s picture

@kscheirer thanks a lot full project permission!
Yes, I still have few things to fix in this module. I plan to do it in closest time.

Since we're in D7 now you may want to support entities instead of nodes.

Yes that would be very good.
But unfortunarely I haven't find sutch access support for entities in D7 like it's done for nodes. I need to handle entity addess in Views and database queries, still haven't find a solution.
More details can be found in this issue Expand the node access API to a general entity access API to improve security

P.S. Thanks for links!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

none reviews