مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
refactor: user management
هذا الالتزام موجود في:
@@ -1,7 +1,6 @@
|
||||
class OrganizationsController < ApplicationController
|
||||
|
||||
before_action :admin_required, :only => [:new, :create]
|
||||
before_action :require_organization_admin, :only => [:edit, :update, :delete, :destroy]
|
||||
before_action :admin_required, :only => [:new, :create, :delete, :destroy]
|
||||
|
||||
def index
|
||||
if current_user.admin?
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم