Class: PermissionModel

Inherits:
ActiveRecord::Base show all
Defined in:
lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ActiveRecord::Base

#associated_valid?, #no_errors_in_associated?, #save_associated, #save_associated!, #save_with_unsaved_flag, #to_label, #unsaved=, #unsaved?

Class Method Details

.columnsObject



4
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 4

def self.columns; [] end

Instance Method Details

#a1_authorized?Boolean

def authorized_for_create?; end

Returns:

  • (Boolean)


10
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 10

def a1_authorized?; true; end

#a1_authorized_for_create?Boolean

def c2_authorized_for_create?; end

Returns:

  • (Boolean)


28
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 28

def a1_authorized_for_create?; true; end

#a1_authorized_for_read?Boolean

def c2_authorized_for_read?; end

Returns:

  • (Boolean)


38
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 38

def a1_authorized_for_read?; true; end

#a1_authorized_for_update?Boolean

def c2_authorized_for_update?; end

Returns:

  • (Boolean)


48
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 48

def a1_authorized_for_update?; true; end

#a2_authorized?Boolean

Returns:

  • (Boolean)


11
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 11

def a2_authorized?; false; end

#a2_authorized_for_create?Boolean

def c3_authorized_for_create?; end

Returns:

  • (Boolean)


25
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 25

def a2_authorized_for_create?; true; end

#a2_authorized_for_read?Boolean

def c3_authorized_for_read?; end

Returns:

  • (Boolean)


35
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 35

def a2_authorized_for_read?; true; end

#a2_authorized_for_update?Boolean

def c3_authorized_for_update?; end

Returns:

  • (Boolean)


45
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 45

def a2_authorized_for_update?; true; end

#a3_authorized_for_create?Boolean

def c3_authorized?; end

Returns:

  • (Boolean)


22
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 22

def a3_authorized_for_create?; true; end

#a3_authorized_for_read?Boolean

def c1_authorized_for_create?; end

Returns:

  • (Boolean)


32
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 32

def a3_authorized_for_read?; true; end

#a3_authorized_for_update?Boolean

def c1_authorized_for_read?; end

Returns:

  • (Boolean)


42
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 42

def a3_authorized_for_update?; true; end

#authorized_for_read?Boolean

Returns:

  • (Boolean)


6
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 6

def authorized_for_read?; true; end

#authorized_for_update?Boolean

Returns:

  • (Boolean)


7
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 7

def authorized_for_update?; false; end

#b1_authorized?Boolean

def a3_authorized?; end

Returns:

  • (Boolean)


14
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 14

def b1_authorized?; true; end

#b1_authorized_for_create?Boolean

Returns:

  • (Boolean)


29
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 29

def b1_authorized_for_create?; false; end

#b1_authorized_for_read?Boolean

Returns:

  • (Boolean)


39
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 39

def b1_authorized_for_read?; false; end

#b1_authorized_for_update?Boolean

Returns:

  • (Boolean)


49
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 49

def b1_authorized_for_update?; false; end

#b2_authorized?Boolean

Returns:

  • (Boolean)


15
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 15

def b2_authorized?; false; end

#b2_authorized_for_create?Boolean

Returns:

  • (Boolean)


26
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 26

def b2_authorized_for_create?; false; end

#b2_authorized_for_read?Boolean

Returns:

  • (Boolean)


36
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 36

def b2_authorized_for_read?; false; end

#b2_authorized_for_update?Boolean

Returns:

  • (Boolean)


46
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 46

def b2_authorized_for_update?; false; end

#b3_authorized_for_create?Boolean

Returns:

  • (Boolean)


23
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 23

def b3_authorized_for_create?; false; end

#b3_authorized_for_read?Boolean

Returns:

  • (Boolean)


33
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 33

def b3_authorized_for_read?; false; end

#b3_authorized_for_update?Boolean

Returns:

  • (Boolean)


43
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 43

def b3_authorized_for_update?; false; end

#c1_authorized?Boolean

def b3_authorized?; end

Returns:

  • (Boolean)


18
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 18

def c1_authorized?; true; end

#c2_authorized?Boolean

Returns:

  • (Boolean)


19
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb', line 19

def c2_authorized?; false; end