
المشاركة الأصلية كتبت بواسطة panoora
In v402 CMS permissions were additive- each permission granted also granted the lower permissions. So, for example, if you had "Can Use HTML" rights you were also granted all other rights. There were several complaints about this, and it was clear that's not how the community wanted this. Also there were several people who wanted the ability to control access to view/download attachments.
Therefore we have changed how CMS permissions work. In v403 there are two linkages:
If you grant any rights you have granted "view". I think it's fairly obvious that if you want someone to be able to, for example, download attachments that you meant them to be able to view the page.
If you grant "Can Use HTML" you have also granted "create" rights. Again, if you meant for someone to be able to enter HTML in an article you must have meant them to be able to create the article.
Otherwise the rights are separate. So you could, for example, grant "publish" and "view" but nothing else. We also use javascript to display this relationship. So if, for example, you click "create" then the "view" list will be checked. If you uncheck "view" then all the other rights will uncheck
ترجمة قوقل
في تصاريح v402 الوظيفية كانت مضافة ، كل تصريح الممنوح أيضا منح التصاريح أقل. هكذا ، على سبيل المثال ، إذا كان لديك "يمكن استخدام أتش تي أم أل" حقوق كنت قد تم ايضا منح جميع الحقوق الأخرى. كانت هناك شكاوى عدة حول هذا الموضوع ، وكان من الواضح أن ليس كيف يمكن للمجتمع يريد هذا. كما كان هناك العديد من الناس الذين يريدون القدرة على التحكم في الوصول إلى عرض / تنزيل المرفقات.
ولذلك قمنا بتغيير الطريقة عمل التصاريح العمل. في
v403 هناك نوعان من الروابط :
إذا كنت منح أي حقوق تمنح لديك "عرض". اعتقد انه من البديهي تماما أن أي شخص إذا كنت تريد أن تكون قادرة على سبيل المثال ، تنزيل المرفقات التي كنت أعني بها أن تكون قادرا على عرض الصفحة.
إذا قمت بمنح "يمكن استخدام أتش تي أم أل" لديك أيضا تمنح "خلق" الحقوق. مرة أخرى ، إذا كنت تعني لشخص ما ليكون قادرا على الدخول في مقال أتش تي أم أل يجب أن يكون المقصود منها أن تكون قادرة على خلق المادة.
وإلا فإن حقوق منفصلة. لذلك يمكن ، على سبيل المثال ، منح "نشر" و "عرض" لكن لا شيء آخر. نحن ايضا لاستخدام جافا سكريبت لعرض هذه العلاقة. حتى لو ، على سبيل المثال ، يمكنك انقر فوق "إنشاء" ثم عرض "قائمة" سيتم التحقق منها. إذا قمت بإلغاء تحديد "عرض" ثم جميع الحقوق الأخرى سوف ازل
المصدر :
v403 CMS Permissions - Blogs - vBulletin Community Forum
مواقع النشر (المفضلة)