Firstly, you have all the rights as the author of a work, a dissertation or an unpublished academic thesis. In other words, you own the exploitation rights, in addition to the moral rights.
If you are the author of an article or another publication, or of a thesis by published works, you have all the moral rights to your work, while exploitation rights will depend on those you have assigned to the publisher.
When creating your work you also count on the "copyright limits" established by law, and which allow you to use the works of other authors. The limits that may interest you in this regard are:
Private copy of a work (art. 31). This allows an individual (not a company) to make a copy of a disclosed work, provided it is for private use. You must have also accessed the work legally and from a lawful source. For example, you can make a photocopy of an article for your own personal use.
Citations and summaries and illustration for educational or scientific research purposes (art. 32). This limit allows you to insert fragments of other authors in your work, as long as it is a citation or illustration of your line of argument. In this case, always remember to cite the source and place the cited paragraph between quotation marks.