The legislation in force in any country can take various forms (conventions, the constitution, laws (acts of parliament), secondary legislation (ordinances )). These legislative texts do not all have the same value: some have a superior status and take precedence over others. For example, in Switzerland, laws take precedence over ordinances.
Federal acts are enacted by the Federal Parliament. The primary task of any parliament is to legislate (approve, reject, amend or repeal laws).
The Classified Compilation of Federal Legislation is an online collection of the federal laws that are currently in force.
The federal legislation portal also gives access to other official federal texts.
Cantonal acts are issued by the cantonal parliaments. The primary task of the cantonal parliaments is also to legislate (approve, reject, amend or repeal laws).
You will find all the federal and cantonal legislation on LexFind.ch. The LexFind portal is financed by the Swiss Conference of Cantonal Chancellors
Not every commune has the same powers or degree of autonomy. The extent to which a commune can enact its own legislation is determined by the relevant cantonal constitution. Once again, it is the communal legislature that enacts the laws in the commune. The larger communes usually have their own parliament, while in smaller communes it is normally the communal assembly that approves new laws.
Federal legislation is enacted by the Federal Assembly, i.e. the Parliament (legislature).
Any person or body that wants a new law to be enacted or an existing law to be changed, whether they are citizens (i.e. with the right to vote at federal level), interest groups, members of parliament, cantons or the Federal Council, can submit their request to the federal parliament.
However, it is parliament that ultimately decides whether a law should be amended and how it should be amended.