![]() |
Quote:
|
I've just been debugging a problem for a site which has set up multiple usergroups and given people membership of these as their primary and secondary usergroups. Depending on how this is set up, there can be unexpected consequences within LDM.
LDM - gives users the most liberal permission based on *any* of their usergroups. - gives users download allowances based on their *primary* usergroup. Suppose usergroup 'FullyRegistered' has an allowance of 10 files a day and usergroup 'Registered' an allowance of 5 files a day. - Someone who is a member of both usergroups with primary member of Registered will be allowed 5 files/day - Someone who is a member of both with primary member of FullyRegistered will be allowed 10 files/day However, suppose 'FullyRegistered' is also given *can_bypass_hit_recording* permission. - All users who have FullyRegistered as their primary or secondary usergroup will gain this permission - Consequently, their accesses will not be recorded - Consequently, they will never exceed their allowances. Questions: - Is this what you would expect to happen? - Should users be given allowances based on their primary group or the most liberal of their primary and secondary groups? |
m8 what Exactly does this do... u can uplaod and Download Stuff like Piratebay etc..?
|
Re: multiple usergroups & can_bypass permissions
I think your 3 can_bypass permissions (hit_recording, bandwidth_limits, forumperms) are like a tertiary level of access control. To prevent the permissions dilemma that you're debugging, I think you should remove those permissions from usergroups and make them specific to listed users (ie: userids, usernames). These liberal permissions should then override the usergroup permissions for any listed users who have those permissions. Users can configure their desired access control for usergroups without using these 3 can_bypass permissions by editing Forum Permissions, LDM Permissions, and LDM Allowances. The only possible loss functionality that I see is the can_bypass_hit_recording for the Guest group. To compensate, you can provide an option to activate that setting for the Guest group, but guests will then have either no or unlimited download/ upload limits (depending on the settings in LDM Allowances). |
Quote:
|
Quote:
|
Quote:
|
I have do the modification, added an audio, but the title don't change. I have do this modification :
Code:
if (array_key_exists('id3v2', $ThisFileInfo['tags'])) { |
Quote:
Quote:
*cURL* is an addon library for your web server. It provides another (better) way to access remote files. Your web admin has not installed it. Consequently, LDM cannot *manage* remote downloads - it can only manage *local* downloads. A *local* download is physically stored on your server (either an upload or a file with no url in its name). A *remote* download is a file accessed via a full url. Quote:
|
Quote:
|
All times are GMT. The time now is 07:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|