Problem/Motivation

The "view site reports" permission needs to be only for viewing. Users with this permission shouldn't be able to clear the logs. This is a fairly decent security risk since the the logs are really the only way to watch for malicious users trying to exploit the site, so allowing users to permanently erase the evidence of their attempts is pretty stupid in my humble opinion. The reports are very useful (as is the log), and certain user roles (company employees for instance) should be able to view them but not tamper with them.

Even if this is closed and disregarded, the description of the permission needs to be changed. Unless an administration is paying close attention and personally creates test accounts for each role and goes through testing all the features to make sure only the absolutely necessary functions are exposed, it would be very easy to allow an untrustworthy user to have the ability to erase all the evidence of attempted exploits. Admin users should know before granting the permission that it allows for more than viewing.

I apologize if this is a duplicate report: I searched fairly thoroughly through all open issues for Drupal 7.x and didn't see anything relevant.

Proposed resolution

Discussion (#81 onwards) on whether to:

- change title of existing permission from View to Administer (no description)
- keep title, change description (mention ability to delete logs, which reports viewable)
- add additional permission for log clearing, leave View site reports otherwise unchanged

Remaining tasks

- Agree solution.
- Confirm if this is 8.3.x or 8.4.x

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#111 1635646_111.patch1.2 KBaarti zikre
#108 1635646-108.patch491 bytesAbhijith S
#92 1635646-92.patch608 byteskrknth
#87 1635646-87.patch635 byteswturrell
#87 interdiff-1635646-82-87.txt734 byteswturrell
#82 1635646-82.patch629 bytesdagmar
#81 Permissions___Site-Install.png12.49 KBxjm
#71 interdiff-1635646-69-71.patch1.09 KBdagmar
#71 drupal-clear-logs-permission-1635646-71.patch3.08 KBdagmar
#69 interdiff-1635646-57-69.txt2.54 KBalexdmccabe
#69 drupal-clear-logs-permission-1635646-69.patch2.97 KBalexdmccabe
#57 interdiff-1635646-51-57.patch370 bytesdagmar
#57 drupal-clear-logs-permission-1635646-57.patch4.07 KBdagmar
#52 interdiff-1635646-45-51.txt488 bytesalexdmccabe
#51 interdiff-1635646-45-51.patch488 bytesalexdmccabe
#51 drupal-clear-logs-permission-1635646-51.patch4.04 KBalexdmccabe
#49 interdiff-1635646-40-45_0.txt2.1 KBalexdmccabe
#49 drupal-clear-logs-permission-1635646-45_0.patch3.49 KBalexdmccabe
#45 interdiff-1635646-40-45.txt2.1 KBalexdmccabe
#45 drupal-clear-logs-permission-1635646-45.patch3.49 KBalexdmccabe
#40 interdiff-1635646-37-40.txt426 bytesalexdmccabe
#40 drupal-clear-logs-permission-1635646-40.patch2.96 KBalexdmccabe
#37 interdiff-1635646-35-37.txt988 bytesdagmar
#37 drupal-clear-logs-permission-1635646-37.patch2.45 KBdagmar
#35 drupal-clear-logs-permission-1635646-35.patch1.7 KBdagmar
#34 drupal-clear-logs-permission-1635646-24.patch617 byteslongwave
#24 drupal-clear-logs-permission-1635646-24.patch617 bytesalexdmccabe
#20 interdiff-1635646-19-20.txt817 bytesalexdmccabe
#20 drupal-clear-logs-permission-1635646-20.patch605 bytesalexdmccabe
#19 interdiff-1635646-14-19.txt1.06 KBalexdmccabe
#19 drupal-clear-logs-permission-1635646-19.patch689 bytesalexdmccabe
#17 drupal-clear-logs-permission-1635646-17.patch1.02 KBsushantpaste
#14 interdiff-1635646-5-14.txt1.85 KBalexdmccabe
#14 drupal-clear-logs-permission-1635646-14.patch741 bytesalexdmccabe
#5 interdiff-1635646-2-5.txt675 bytesalexdmccabe
#5 drupal-clear-logs-permission-1635646-5.patch2.12 KBalexdmccabe
#2 drupal-clear-logs-permission-1635646-2.patch1.33 KBalexdmccabe
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

steinmb’s picture

Version: 7.14 » 8.x-dev
Category: bug » feature
Priority: Major » Normal

Consider this a feature req. and not a bug. Moving to D8.x

alexdmccabe’s picture

Assigned: Unassigned » alexdmccabe
Issue summary: View changes
Status: Active » Needs review
FileSize
1.33 KB

I'll take this on.

Status: Needs review » Needs work

The last submitted patch, 2: drupal-clear-logs-permission-1635646-2.patch, failed testing.

jyee’s picture

Looks good to me. I'd mark as rtbc, but I suspect there are many people who would recommend that this include tests.

Edit: Disregard that. The bot is correct, this needs work. Specifically the existing test needs to be updated for the new permission. The bot currently fails in part because it doesn't have permission to clear the log.

alexdmccabe’s picture

I added the permission to the test and it passes on my local. Seeing what the bot thinks of it...

alexdmccabe’s picture

Status: Needs work » Needs review

Helps if you set it to "Needs review". Derp.

jyee’s picture

Status: Needs review » Reviewed & tested by the community

lgtm. marking as rtbc.

dawehner’s picture

Is it just me that this name does not really tell you what this permission is about?

alexpott’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/core/modules/dblog/lib/Drupal/dblog/Form/DblogClearLogForm.php
@@ -53,11 +53,13 @@ public function getFormID() {
+    $account = \Drupal::currentUser();
...
+      '#access' => $account->hasPermission('administer site reports'),

just do '#access' => $this->currentUser()->hasPermission(). And I agree with @dawehner maybe the name could be better since Administer to means means a lot more than ability to purge the db log.

alexdmccabe’s picture

Suggestions, then? "Clear site reports", perhaps?

longwave’s picture

Why does the permission belong to system.module when it's only used by dblog.module? Not sure there is a use case for other watchdog modules to use this, for example it doesn't make sense for syslog to allow it.

longwave’s picture

Alternatively, do we need an entire new permission? Is "administer site configuration" enough to cover this?

alexpott’s picture

Definitely should be dblog permission and not a system permission - nice catch @longwave.

@alexdmccabe as this is a dblog specific thing - it is possible that another module will add reports to "/admin/reports" so "Clear site reports" is problematic. How about "Purge watchdog table"? Considering this is a technical task maybe giving the permission a technical name is ok... tricky. Or maybe "administer site configuration" is enough.

alexdmccabe’s picture

Status: Needs work » Needs review
FileSize
741 bytes
1.85 KB

Okay, here it is with "administer site configuration", since that seems to be popular and an easy way to accomplish this.

sushantpaste’s picture

Status: Needs review » Reviewed & tested by the community

Patch works fine.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 14: drupal-clear-logs-permission-1635646-14.patch, failed testing.

sushantpaste’s picture

Status: Needs work » Needs review
FileSize
1.02 KB

Updated patch.

dawehner’s picture

I don't think we want to put the access permission on the 'details' form element ... as for example the submit button would still be there.
You should probably put that on the main level of the form, maybe even in the dblogController.

alexdmccabe’s picture

Moved the access permission back to the fieldset. Interdiff is from my last patch.

alexdmccabe’s picture

Moves access permission to $form.

alexdmccabe’s picture

Assigned: alexdmccabe » Unassigned

Unassigning from myself.

Status: Needs review » Needs work

The last submitted patch, 20: drupal-clear-logs-permission-1635646-20.patch, failed testing.

alexdmccabe’s picture

Rerolled.

alexdmccabe’s picture

Status: Needs work » Needs review

Aaaaand setting to needs review.

Status: Needs review » Needs work

The last submitted patch, 24: drupal-clear-logs-permission-1635646-24.patch, failed testing.

Status: Needs work » Needs review

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

dagmar’s picture

Component: user system » dblog.module
longwave’s picture

Version: 8.1.x-dev » 8.2.x-dev
FileSize
617 bytes

Reuploading #24 for retest, as it looks like it should still apply.

dagmar’s picture

Lets add some tests for this feature. I'm afraid the route is still accessible from the URL.

Status: Needs review » Needs work

The last submitted patch, 35: drupal-clear-logs-permission-1635646-35.patch, failed testing.

dagmar’s picture

Status: Needs review » Needs work

The last submitted patch, 37: drupal-clear-logs-permission-1635646-37.patch, failed testing.

dagmar’s picture

Hm, I was right, so in order to get this issue RTBC the 1 fail test should be fixed by this patch.

alexdmccabe’s picture

Status: Needs work » Needs review
FileSize
2.96 KB
426 bytes
alexdmccabe’s picture

The test is passing now, the issue was that the route itself needed the permission changed from access site reports to administer site configuration.

dagmar’s picture

Status: Needs review » Needs work

Ok, this looks good, however I'm thinking now in the upgrade scenario.

This update will remove functionality for users with 'access site reports', they won't be able to clear logs anymore.

From

Alternatively, do we need an entire new permission? Is "administer site configuration" enough to cover this?

I think we do, because we cannot grant administer site configuration to users with access site reports permissions.

alexdmccabe’s picture

Isn't removing this functionality from users who only have access site reports the whole point?

dagmar’s picture

It is, but you don't know if some site admin rely on this permission to allow delete logs at this moment.

No functionality should be broken with the update. After the update you give more granularity if site builder want to use it.

alexdmccabe’s picture

alexdmccabe’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 45: drupal-clear-logs-permission-1635646-45.patch, failed testing.

alexdmccabe’s picture

Status: Needs work » Needs review

The error looks unrelated and isn't occurring on my local environment, so I'm setting it back to Needs Review.

alexdmccabe’s picture

dagmar’s picture

Status: Needs review » Needs work

Great, so the last thing here is, provide hook_update_N that grant all the users that at the moment can access site reports the permission clear log messages.

alexdmccabe’s picture

alexdmccabe’s picture

FileSize
488 bytes
alexdmccabe’s picture

Issue tags: +Random test failure

Adding "Random test failure" tag because of #45 per https://www.drupal.org/node/2399959.

Status: Needs review » Needs work

The last submitted patch, 51: interdiff-1635646-45-51.patch, failed testing.

alexdmccabe’s picture

Status: Needs work » Needs review

Ignore that failure, it was testing the interdiff that I accidentally uploaded with a .patch extension. The actual patch passed.

longwave’s picture

Still not convinced the new permission is needed. If we document in the release notes that users now need "administer site configuration" to clear the logs, then that should be should be enough? Especially if we consider the existing behaviour a bug?

dagmar’s picture

Thanks @alexdmccabe this is working as expected. I tested the upgrade path and is working fine.

Just adding the "Warning: Give to trusted roles only; this permission has security implications" to the permission since this is really important to check.

Still not convinced the new permission is needed. If we document in the release notes that users now need "administer site configuration" to clear the logs, then that should be should be enough? Especially if we consider the existing behaviour a bug?

Well, according OWASP Logging protection

The logging mechanisms and collected event data must be protected from mis-use such as tampering in transit, and unauthorized access, modification and deletion once stored.

If we use "administer site configuration" we are allowing a user that could change the site name also to clear logs, this doesn't make sense to me.

Status: Needs review » Needs work

The last submitted patch, 57: interdiff-1635646-51-57.patch, failed testing.

dagmar’s picture

Status: Needs work » Reviewed & tested by the community

Moving this to RTBC since all my requests on #35, #50 were addressed.

The last submitted patch, 57: drupal-clear-logs-permission-1635646-57.patch, failed testing.

catch’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs security review

The new permission wouldn't be covered by the list of elevated permissions at https://www.drupal.org/security-advisory-policy, but the existing one is. Similarly 'Administer site configuration' is covered by that policy, and that already allows destructive operations. Personally I'd got for 'Administer site configuration' since that's the catch-all for trusted users really and would then not add a permission for a single link.

dagmar’s picture

Just to give a bit of context here. This are the things that an user with 'administer site configuration' permissions can do at this moment in core.

  • Update Manager settings /admin/reports/updates/settings
  • Available updates /admin/reports/updates
  • Manual update check /admin/reports/updates/check
  • Basic site settings /admin/config/system/site-information **
  • Cron /admin/config/system/cron
  • Logging and errors /admin/config/development/logging
  • Performance /admin/config/development/performance **
  • File system /admin/config/media/file-system **
  • RSS publishing /admin/config/services/rss-publishing
  • Regional settings /admin/config/regional/settings
  • Image toolkit /admin/config/media/image-toolkit
  • Maintenance mode /admin/config/development/maintenance **
  • Run cron /admin/reports/status/run-cron
  • Date and time formats /admin/config/regional/date-time
  • Add date format /admin/config/regional/date-time/formats/add
  • Status report /admin/reports/status
  • Books /admin/structure/book/settings

I indicated with ** the actions I think may be incompatible with the ability of clear logs.

catch’s picture

@dagmar what do you think is incompatible?

longwave’s picture

@dagmar I'm not sure of the point you are trying to make there. Why do you think those are incompatible with clearing logs? "administer site configuration" should only ever be granted to trusted users; none of the items you list are things that you would want even a casual administrator to be able to do, and none of them are things that you will be reconfiguring on a regular basis.

Note that "administer site configuration" is also needed to change the settings on the "logging and errors" page; this can effectively be used to clear the site logs by changing "Database log messages to keep" to 100, flooding the site in some way to generate 100 messages, and then waiting for cron to run.

dagmar’s picture

@longwave thanks. Now I see your point. So maybe to clarify all this. There are some cases where Drupal is being used as platform where trusted users may not be necessary mean security officers (in the sense of responsible for the security of the system).

I asked in the company where I work to a person focused on company security and he said the clear logs permission should not be shared with other kind of site functionality, like change the site name.

Another scenario I can imagine is the owner of a site, like a client, who want to be able to configure the Site name or the the text for a 404 page and accidentally or in purpose want to clear the logs to hide some mistake.

However, I see what you mean like a way to bypass this behavior using cron to flush the logs. So, it seems the dblog cannot be considered as a full logging system from a security point of view, and syslog or any other solution should be used instead.

catch’s picture

Yes for log retention you need to use syslog or similar. Flushing logs manually or them getting rotated away after 1000 entries isn't really different from a security standpoint.

alexdmccabe’s picture

So it sounds like we're going back to "administer site configuration"?

dagmar’s picture

alexdmccabe’s picture

Status: Needs work » Needs review
FileSize
2.97 KB
2.54 KB
alexdmccabe’s picture

Issue tags: -String change in 8.2.0 +Random test failure

Removing string change tag, reinstating random test failure tag for #45 (don't know why it was removed, there was indeed a random test failure: #1635646-45: Admin users should know site report permission allows for more than viewing).

Not sure if the "needs security review" tag is still necessary.

dagmar’s picture

This looks fine, I tested the functionality in simplytest.me

Just adding 3 more lines on the tests to check responses. From my side this is RTBC.

alexdmccabe’s picture

This is going to fail again, the interdiff has a .patch extension and the testbot won't like that. I know because I did the same thing in #51. :)

Status: Needs review » Needs work

The last submitted patch, 71: interdiff-1635646-69-71.patch, failed testing.

alexdmccabe’s picture

Status: Needs work » Needs review

Told ya. Setting back to "Needs review" because the interdiff shouldn't be tested anyway.

xjm’s picture

Issue tags: -Random test failure

Thanks @alexdmccabe!

Removing the Random test failure tag. This tag should be put on issues about random test failures, not any issue that happens to have a random test failure. E.g., see #2724871: Random failure in \Drupal\migrate_drupal_ui\Tests\d7\MigrateUpgrade7Test. Please do not add the tag back as this pollutes the list of issues to fix random test failures.

alexdmccabe’s picture

@xjm - that's not what https://www.drupal.org/node/2399959 says.

If you hit that you should follow the following guideline:

DON'T retest the patch, but just reupload your existing patch in a new comment
Add the "Random test failure" tag to the issue

¯\_(ツ)_/¯

xjm’s picture

Thanks @alexdmccabe. I think that's just a misunderstanding. I'll try to clarify the handbook page. (I think that handbook page is also partially duplicating more extensive documentation elsewhere.)

alexdmccabe’s picture

No problem, sorry for the confusion and pollution!

dagmar’s picture

Removing needs security review. Do we need a Change record for this?

dagmar’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs change record
xjm’s picture

Title: Need a Permission to Clear Logs » Admin users should know site report permission allows for more than viewing
Category: Feature request » Task
Issue summary: View changes
Status: Reviewed & tested by the community » Needs work
FileSize
12.49 KB

Thanks for exploring other solutions for this issue.

Looking at the summary, the goal of this issue is:

Admin users should know before granting the permission that it allows for more than viewing.

I'm retitling the issue to reflect that scope.

Discussed with @catch. The permission for this page is already marked with restrict access in system.permissions.yml:

access site reports:
  title: 'View site reports'
  restrict access: true

This means it gets a warning in the UI already:

It also means that the security team will not release SAs for exploits that require the permission, etc.

I think the current approach of changing the permission to clear logs to "Administer site configuration" is incorrect. In fact, it might make the situation worse, by conflating this specific permission with an even more powerful one. Plus, the change only for clearing the site reports implies falsely that viewing the site reports is safe, which it is not. All sorts of information is disclosed there.

What I actually think will address the underlying concern of the issue is to simply change the label for the permission to "Administer site reports". That way, it is consistent with what the permission actually does, and also reinforces the restrict access warning. That should address the underlying concern of the original report, without adding an additional permission, making disruptive changes to the permissions scheme, or giving a false sense of security for site reports.

Thanks everyone for your patience and trying out different approaches -- sorry for there being a couple recommended changes of direction.

dagmar’s picture

Status: Needs work » Needs review
Issue tags: +String change in 8.2.0
FileSize
629 bytes

Thanks for your clarification @xjm. What do you think about this description?

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

dagmar’s picture

Issue tags: -String change in 8.2.0 +String change in 8.3.0

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

dagmar’s picture

Issue tags: -String change in 8.3.0 +String change in 8.4.0, +Novice

Tagging this as novice to get a review from some English native speaker.

wturrell’s picture

FileSize
734 bytes
635 bytes

Having tested the 'View Site Reports' permission, what it actually gives you is:

- Recent log messages (including delete)
- Top 'access denied' errors
- Top 'page not found' errors
- Top search phrases
(and that's it)

- On it's own, it doesn't allow you to access /admin/reports/status, so I've removed that.
- I was able to list each report in the same amount of space, so I have, and as "manage the site logs" is in fact just view and delete, I've stated that verbatim too.
- Used Oxford comma as per style guide, report names aren't capitalised as they're not proper nouns.

For committers: given this is such a modest change compared to the initial approach (which involved renaming a permission and changing behaviour) - it's essentially a non-disruptive bug fix - can it be bumped up to 8.3.x? Or does the translatable string disqualify it?

wturrell’s picture

Issue summary: View changes

Added Issue Summary template.

wturrell’s picture

Issue summary: View changes
alexdmccabe’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me.

xjm’s picture

Status: Reviewed & tested by the community » Needs work

Thanks @dagmar and @wturrell.

+++ b/core/modules/system/system.permissions.yml
@@ -17,6 +17,7 @@ view the administration theme:
+  description: 'View access denied, not found, and search reports. View and delete log messages.'

I find this confusing to read. "View access denied, not found" in particular can be easily mis-parsed as an error message. Usually in writing we would delineate an "access denied" report or "not found" report with punctuation or typeface. Also, it's somewhat redundant with the label.

More importantly, though: this also has the problem as some other issues do where we are adding a description when we undertook significant work to remove them early in the D8 development cycle. Descriptions are to be avoided; they add more to read and make the page more overwhelming for users.

It would be better to not add a description. Instead, as I stated in #81 (maybe it got lost in a long post, sorry) is that I think we should simply change the label of the permission to:
Administer site reports
And not add a description.

Thanks!

krknth’s picture

dhruveshdtripathi’s picture

Status: Needs review » Reviewed & tested by the community

Patch applied successfully. Changes looks OK

catch’s picture

Status: Reviewed & tested by the community » Needs review

Shouldn't we add additional access control to the 'clear logs' button and leave this permission as is?

wturrell’s picture

Issue tags: -Novice
wturrell’s picture

Issue summary: View changes

[contains minor edits]

If no description is a fixed constraint, and the choice is "View site reports" (as we have now) vs. "Administer site reports", I'd actually favour leaving it how it is. Despite the omission of the ability to clear logs, I find "View site reports" more meaningful (though I don't think the 'trusted users' warning is all that useful if there's no canonical place in Help or drupal.org docs to check what the "security implications" are - see later comments.)

To me, "Administer" suggests a similarity with "Administer content", or "Administer content types", or "Administer menus and menu items" or "Administer modules"… my expectation is a Reports admin page with a list of reports I can control. Perhaps there are pre-installed reports, like the default Views and Content Types, that I can enable, disable, or customise, with an "Add new report" button to create my own.

I also find the term "site reports" a little ambiguous:

- "site" may be redundant, what makes it a "site" report, isn't every report a "site report"?
- this permission only activates three reports on /admin/reports when viewed by UID 1 (four including recent log messages), when administrators might assume granting it will give the role access to all of them. They are:

- "Top 'access denied' errors" (list of 403s)
- "Top 'page not found' errors" (list of 404s)
- "Top search phrases"

So there's nothing to actually administer for three of the four.

Reports this permission by itself does not give access to (talking about a clean install here):

- "Available updates" (which consists of three tabs, List, Settings and Updates)

Several potentially confusing things about this: [drifting off-topic, this could be an issue all of it's own]

i) You need 'Administer site configuration' to get a reports menu item and the List and the Settings tabs (but it doesn't give you Update, so you can't install them). That also enables you (most of?) admin/config. This is confusing because if site configuration permission is granted but software updates isn't, you might not expect to see the list of updates at all.
ii) You additionally need "Administer software updates" to get the Update tab. But if you only have this (software) permission on it's own (i.e. "Administer site configuration is unchecked) you get nothing. You might expect software updates by itself to give you /admin/reports/updates/settings (check frequency & email notifications). Arguably we could add an "Also requires Administer site configuration" message or possibly even JS to auto tick Site configuration when Software updates is ticked (not sure how messy/dangerous that gets, especially when deselecting.)
iii) The "Administer software updates" permission is listed even if (as with a new install) the Update Manager (update) module is not yet enabled. I think a conditional reminder to install it would help.

I'd acknowledge i. and ii. may just be a necessary learning curve (and it's not the only place where there is these contradiction).

The necessary permissions for the remaining reports seem logical enough:

- "Status report" (requires "Administer site configuration")
- "Field list" (this requires "Administer content types" - this is the list of fields and the entity types that use them)
- "Views plugins" (requires "Administer views" - this is the table of plugins, e.g. Pager or RSS feed, each with a clickable list of all the views that use them)

More broadly, if the aim is to reduce the word count/complexity/clutter of /admin/people/permissions, have we previously discussed where users are supposed to go if they're still unclear what the permissions mean? As I said at the top, for View site reports, I'm not convinced the trusted users warning is enough by itself. Community docs and web search results for what various permissions do are patchy at best, with more questions than answers.

Would there be support for creating an extra help page under /admin/help/user, starting with the less obvious ones (e.g. some of those we're currently discussing elsewhere). It'd need to be permissible to write at slightly greater length than we can in the inline descriptions, and to include examples where appropriate. Then linking to it from the top of /admin/people/permissions, because (personal hunch, no supporting evidence) no-one ever looks at Help otherwise.

There is already the ability for people to hide all permission descriptions, though I took the primary reason for that to be to reduce the amount of scrolling.

BTW, sorry @xjm – I did read #81 when looking at the previous patch, but clearly managed to completely misunderstand the last part of it. I think I was thrown because you referred to the 'label' instead of 'title' and I took that to mean the description. I must also have read "permission to" as "permission of" or something, etc.

I've refreshed the Proposed resolution in the Issue summary.

wturrell’s picture

Issue summary: View changes
Issue tags: +Usability

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Abhijith S’s picture

Issue tags: -
FileSize
491 bytes

Just rerolled patch #92 .

aarti zikre’s picture

Assigned: Unassigned » aarti zikre

Reviewing the patch

Status: Needs review » Needs work

The last submitted patch, 108: 1635646-108.patch, failed testing. View results

aarti zikre’s picture

Try to resolve fail test

aarti zikre’s picture

Assigned: aarti zikre » Unassigned

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.