Brian Shaughnessy

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
Aug 24, 2021 at 1:34 pm
#160416
Participant
Brian Shaughnessy
OP

Yes — this was helpful and worked for me. Thanks.

Nov 5, 2020 at 3:48 am
#140069
Participant
Brian Shaughnessy
OP

It’s not working for me. I have a custom link template that includes the [download_link] variable. No preview button for PDF downloads is appearing.

Nov 5, 2020 at 3:11 am
#140066
Participant
Brian Shaughnessy
OP

Great! How do you add the preview button to a link template? What is the variable?

Oct 16, 2020 at 3:21 am
#138504
Participant
Brian Shaughnessy
OP

@BGM just wondering if you can share how you setup [doc_preview] to open in a modal rather than be inline.

Jul 2, 2020 at 4:10 pm
#132076
Participant
Brian Shaughnessy
OP

As I explained earlier, while that *works* — it’s not intuitive for end users. If I create a package and assign it to a category, I will expect the permissions selected for that category to control access. I would not expect needing to also *clear out* the allow access value on a per-package basis.

The Allow Access field basically overrides the category access. Normally you don’t default to an override value. So what I’m suggesting is to create a new default value for Allow Access called “inherit permissions” — or something like that — which inherits from the category by default, and then lets you override it if desired on a per-package basis.

Jul 2, 2020 at 12:26 pm
#132046
Participant
Brian Shaughnessy
OP

We are using the Pro version. Though we recently upgraded and the behavior was present in the Free version as well.

  • created a category and restricted access to subscriber and admins
  • created file and assigned to category
  • created page and inserted packages block, filtered to that category
  • viewed page as anonymous user

The download link was present and could be clicked to download the file. If I remove the “all visitors” access, then it appears to inherit from the category as expected. Which is why, as explained earlier, I think the underlying restriction is working. The problem is that you need a different default option for the access field so that it inherits from the category by default, rather than requiring people to click and undo the default access selection in order for the category restriction to kick in.

Jul 2, 2020 at 12:08 pm
#132044
Participant
Brian Shaughnessy
OP
This reply has been marked as private.
Jun 25, 2020 at 4:46 pm
#131557
Participant
Brian Shaughnessy
OP

I did some testing and it’s definitely improved, but I think there is still the potential for confusion. Here’s what I found.

* created a category and restricted to a role
* created a file and selected the category
* created a page with a block showing all files

If I view the page as an unauthenticated user, the file is visible and downloadable.
If I go back into the file, locate the “Allow Access” field under Package Settings and remove the “All Visitors” selection (which is selected by default), then things work as expected. When viewing as an unauthenticated user, the file is not downloadable. When viewing as a user with the role selected in the category settings, the file is downloadable.

So from a pure functionality standpoint, this seems to be fixed. However — the fact that “All Visitors” is selected by default AND it overrules the category permission, is problematic. I suggest having a new option under Allow Access called “Inherit from Category” and set that as the default value. That accomplishes a few things:

* allows the category permissions to be the default access control for files
* if no category is selected, we can assume “All Visitors”
* allows you to overrule the category permission on a per-package basis, which is useful

My concern with the current setup is that people will select the category and not realize they need to undo the default value in the Allow Access field in order for the expected perms to kick in.

Jun 12, 2020 at 6:53 pm
#130495
Participant
Brian Shaughnessy
OP

No — there’s no apparent impact on functionality, which is why it’s odd. I’m able to upload and download files without issue. But the error in the error log persists, which is a cause for concern.

I can’t give you access to the site. But it wouldn’t matter anyway. You only see it when tailing the error logs.

Jun 12, 2020 at 6:48 pm
#130493
Participant
Brian Shaughnessy
OP

I updated the Gutenberg plugin and the issue persists.
Here’s the link to the screenshot (didn’t show up earlier): https://lcdservices.tinytake.com/tt/NDM1NzcwOV8xMzc0MzczMQ

Jun 7, 2020 at 4:39 pm
#130063
Participant
Brian Shaughnessy
OP

I can’t give you access to the site, but here’s a screenshot of the page and block config.
The block should filter and display downloads with the member-resources category. The first document listed does not have that category assigned (the second does).

screenshot

Jun 6, 2020 at 11:53 am
#129911
Participant
Brian Shaughnessy
OP

I ran into this as well. Let us know when there is an update.

Viewing 12 posts - 1 through 12 (of 12 total)