Needs review
Project:
Access unpublished
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2023 at 21:20 UTC
Updated:
25 Nov 2025 at 09:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
recrit commentedAttached is a static patch of MR 9 that can be used for builds.
The changes made:
Comment #4
recrit commentedScreenshot for reference:

Comment #5
recrit commentedUpdated static patch of MR 9 to manage access tokens on a local task or the entity edit form, but not both.
Comment #6
recrit commentedUpdated static patch of MR 9
Comment #7
dave reid+1 for this
Comment #8
dwisnousky commented#6 worked for us! Going to create a patch off of the MR diff to be safe. Nice work! Thank you!
Comment #9
dwisnousky commented#8 was a dirty patch. Sorry, fam!
Comment #10
smazI've been using patch #9 in production for around 2 months now on a very active site & had no issues.
Having a look at the code in more detail, just a couple of minor nitpicks:
AccessUnpublished::applicableEntityType already checks for the entity type having the canonical link template, so we probably don't need to check that here too?
+ * Build the access token overview form for the provied entity.Typo in provided
* Subscriber for entity access_unpublish routes.I think this should be access_unpublished
Apart from that, all seems ok - will try to update the merge request with the above.
Comment #11
recrit commentedadding a static patch of MR9 for builds to use.
Comment #12
recrit commentedComment #13
damienmckennaWhile this works well, I think it might be better to rename the tab to something more meaningful than "Access tokens".
Comment #14
generalredneck@DamienMcKenna,
You have any thoughts? I noodled on a name for a while. Access Tokens is about as concise/meaningful as we can get without making that tab take up half the page.
Thinking of moving this into the new version and opening a new ticket for "moar better name" :D
Comment #15
damienmckenna"Unpublished access"? I think the word "token" won't be clear for non-technical users and shouldn't be used.
Comment #16
generalredneckI could get behind that. Not much longer. I was hung up on having "token" in there somewhere to describe what the list would contain.
Comment #17
generalredneckIt might be good to have a task to rename the feature in other places, such as the tab on the content overview page. Going to put this in needs work for the tab name so i can at least remember we need to do this. Got this listed out in #3458071: 2.0.x Road Map
Comment #18
recrit commentedAdding static patch the MR9 for composer builds.
Comment #19
recrit commentedAdding static patch with the PHP 8.3 fix.
Comment #20
mably commentedThat would definitely be an interesting feature to have.
Especially since we added the label column to the token list.
Lots of duplicated code between the two forms that should probably be optimized.
Comment #22
mably commentedMR 46 is based on MR 9, with shared code factored out to avoid unnecessary duplication.
Still needs a few tests and we should be ready to go.
Comment #23
mably commentedBasic javascript functional test added.