Description

The Jsonapi Role Access module allows you to manage access of jsonapi resources based on user role.It provide a simple setting form from where you can restrict or allow a user role to access jsonapi resource. For example you can restrict anonymous user to access jsonapi resources or you can allow only authenticated user(or any role) to access jsonapi resources.

Project link

https://www.drupal.org/project/jsonapi_role_access

Git instructions

git clone --branch 1.0.x https://git.drupalcode.org/project/jsonapi_role_access.git

Manual reviews of other projects

  1. https://www.drupal.org/project/projectapplications/issues/3166852#commen...
  2. https://www.drupal.org/project/projectapplications/issues/3167356#commen...
  3. https://www.drupal.org/project/projectapplications/issues/3164567#commen...

Comments

arshadkhan35 created an issue. See original summary.

arshadkhan35’s picture

Issue summary: View changes
arshadkhan35’s picture

Issue summary: View changes
arshadkhan35’s picture

Issue summary: View changes
Issue tags: +PAreview: review bonus
vigneshvalliappan’s picture

Status: Needs review » Needs work

Hi @arshadkhan35,

Please implement hook_help, and I see that the settings form has "access content" permission which means that it can be accessed by anonymous user as well, So please use your own permissions.

avpaderno’s picture

Issue summary: View changes

Showing the output given from a tool isn't making a manual review. I removed those review from the Manual reviews list.

avpaderno’s picture

Yes, the access content permission isn't thought to be used for the settings pages a module uses. In a site, that permission could be given to anonymous users too, as vigneshvalliappan said, and it's pretty normal to do so. Using that permission for other purposes is a security issue, IMO.

arshadkhan35’s picture

Status: Needs work » Needs review

Thanks @vigneshvalliappan , @kiamlaluno the permission issue is resolved and Hook_help is implemented now, Thanks @kiamlaluno for clearing my understanding of manual review.

arshadkhan35’s picture

Priority: Normal » Major
arshadkhan35’s picture

Issue summary: View changes
arshadkhan35’s picture

Issue tags: +PAreview: review bonus
arshadkhan35’s picture

Priority: Major » Critical
Issue tags: -PAreview: security
matroskeen’s picture

Hello there,

I've reviewed the application and created several tasks in project issues queue:

I don't consider them as bugs or security issues, that's why I'm not moving this task to "Needs Work".

avpaderno’s picture

Priority: Critical » Normal
arshadkhan35’s picture

Thanks @Matroskeen for review, all the task created above have been incorporated. Thanks for the patch.

arshadkhan35’s picture

Priority: Normal » Major

I am changing priority as per https://www.drupal.org/node/539608

avpaderno’s picture

I edited the issue tags as per https://www.drupal.org/node/1975228.

avpaderno’s picture

Issue summary: View changes
avpaderno’s picture

Assigned: Unassigned » avpaderno
Status: Needs review » Fixed

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, 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.

I thank all the dedicated reviewers as well.

avpaderno’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

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