app/models/abilities/everyone.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method initialize has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def initialize(user)
      can [:read, :map], Debate
      can [:read, :map, :summary, :share], Proposal
      can :read, Comment
      can :read, Poll
Severity: Minor
Found in app/models/abilities/everyone.rb - About 1 hr to fix

    Line is too long. [132/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
    Open

          can [:read, :debate, :draft_publication, :allegations, :result_publication, :proposals], Legislation::Process, published: true
    Severity: Minor
    Found in app/models/abilities/everyone.rb by rubocop

    There are no issues that match your filters.

    Category
    Status