Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 202
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 193
Total: 193

Author Topic: Permissions issue  (Read 3212 times)

0 Members and 1 Guest are viewing this topic.

Offline DAProgs

  • Member
  • *
  • Posts: 8
    • View Profile
Permissions issue
« on: October 16, 2015, 03:37:56 pm »
I am having issues with the category level permissions.
None of the category permissions I set seem to work.
Global permissions work fine. I upgraded to the latest version of Download system Pro and the issue is still there.
I decided to make a fresh install of SMF and put the latest version of Download System Pro on it just to make sure it wouldn't be some lingering data from previous installs to no avail.

Is there an option I am missing to enable category level permissions?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Permissions issue
« Reply #1 on: October 17, 2015, 01:57:08 pm »
What SMF version?
And are you clicking the permissions link near each category then adding the membergroup permission there as well?

Details what category permissions you have setup would help as well.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline DAProgs

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Permissions issue
« Reply #2 on: October 17, 2015, 03:41:35 pm »
Sorry for the lack of details.
SMF 2.0.8(2.0.9 update)
Downloads System Pro: 4.1.5
I have also tested this on a fresh install of SMF 2.0.11

So global permissions work, they are currently set for regular members to be able to download but not create a download:


In the category submissions I click on "Category Permission"


I then set a permission to allow Regular Members to add a download:


I then see the added permission on the Submissions category:


I have tried allowing global permission and deny permissions on categories and none seem to work.
I took a look real quick in my Sources/ManagePermissions.php in case any "lite" information was there but I could not tell.

Thank you,

Didier

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Permissions issue
« Reply #3 on: October 17, 2015, 04:44:12 pm »
The global permissions always overwrite subcategory permissions. They must be allowed for that permission in order for it to be used in a subcategory

So you would need to give all members add own download and edit own download.
Then deny the membergroup in the categories that you do not want it to happen.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline DAProgs

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Permissions issue
« Reply #4 on: October 17, 2015, 06:07:24 pm »
Ah, it works thank you, I didn't realize that the denial on category level worked because the "Add a download" button remains visible even when the permission is denied.
Clicking it gives an error that you cannot do that action.
Is there a way I can make it mask the button when download is denied?

Thank you,

Didier

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3188 Views
Last post March 20, 2007, 05:25:42 pm
by onijin
2 Replies
3909 Views
Last post May 04, 2009, 11:18:29 pm
by propyl
3 Replies
3750 Views
Last post August 08, 2011, 01:52:03 am
by nightware
1 Replies
10068 Views
Last post April 04, 2013, 08:59:07 pm
by SMFHacks
7 Replies
5187 Views
Last post July 20, 2013, 08:04:23 am
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal